2004-12-15 05:07:53 +00:00
|
|
|
/*
|
2023-03-14 22:27:29 +00:00
|
|
|
* PROJECT: ReactOS Notepad
|
|
|
|
* LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later)
|
|
|
|
* PURPOSE: Providing a Windows-compatible simple text editor for ReactOS
|
|
|
|
* COPYRIGHT: Copyright 1998,99 Marcel Baur <mbaur@g26.ethz.ch>
|
2004-12-15 05:07:53 +00:00
|
|
|
*/
|
|
|
|
|
2014-01-07 17:05:34 +00:00
|
|
|
#pragma once
|
|
|
|
|
2004-12-15 05:07:53 +00:00
|
|
|
VOID DIALOG_FileNew(VOID);
|
2021-02-11 21:04:36 +00:00
|
|
|
VOID DIALOG_FileNewWindow(VOID);
|
2004-12-15 05:07:53 +00:00
|
|
|
VOID DIALOG_FileOpen(VOID);
|
2012-12-28 15:50:38 +00:00
|
|
|
BOOL DIALOG_FileSave(VOID);
|
|
|
|
BOOL DIALOG_FileSaveAs(VOID);
|
2004-12-15 05:07:53 +00:00
|
|
|
VOID DIALOG_FilePrint(VOID);
|
|
|
|
VOID DIALOG_FilePageSetup(VOID);
|
|
|
|
VOID DIALOG_FileExit(VOID);
|
|
|
|
|
|
|
|
VOID DIALOG_EditUndo(VOID);
|
|
|
|
VOID DIALOG_EditCut(VOID);
|
|
|
|
VOID DIALOG_EditCopy(VOID);
|
|
|
|
VOID DIALOG_EditPaste(VOID);
|
|
|
|
VOID DIALOG_EditDelete(VOID);
|
|
|
|
VOID DIALOG_EditSelectAll(VOID);
|
|
|
|
VOID DIALOG_EditTimeDate(VOID);
|
|
|
|
VOID DIALOG_EditWrap(VOID);
|
|
|
|
|
|
|
|
VOID DIALOG_Search(VOID);
|
2023-02-28 22:16:28 +00:00
|
|
|
VOID DIALOG_SearchNext(BOOL bDown);
|
2005-09-27 00:46:19 +00:00
|
|
|
VOID DIALOG_Replace(VOID);
|
|
|
|
VOID DIALOG_GoTo(VOID);
|
2004-12-15 05:07:53 +00:00
|
|
|
|
|
|
|
VOID DIALOG_SelectFont(VOID);
|
|
|
|
|
2006-05-03 16:17:12 +00:00
|
|
|
VOID DIALOG_ViewStatusBar(VOID);
|
2022-09-05 16:21:27 +00:00
|
|
|
VOID DIALOG_StatusBarAlignParts(VOID);
|
2006-05-03 16:17:12 +00:00
|
|
|
VOID DIALOG_StatusBarUpdateCaretPos(VOID);
|
|
|
|
|
2004-12-15 05:07:53 +00:00
|
|
|
VOID DIALOG_HelpContents(VOID);
|
|
|
|
VOID DIALOG_HelpSearch(VOID);
|
|
|
|
VOID DIALOG_HelpLicense(VOID);
|
|
|
|
VOID DIALOG_HelpNoWarranty(VOID);
|
2015-03-14 20:00:39 +00:00
|
|
|
VOID DIALOG_HelpAboutNotepad(VOID);
|
2004-12-15 05:07:53 +00:00
|
|
|
|
|
|
|
VOID DIALOG_TimeDate(VOID);
|
|
|
|
|
2015-03-14 20:00:39 +00:00
|
|
|
int DIALOG_StringMsgBox(HWND hParent, int formatId, LPCTSTR szString, DWORD dwFlags);
|
|
|
|
|
Merge 34758, 34771, 34786, 34787, 34906, 35826, 36174, 36274, 36444, 36445, 36446, 36447, 36448, 36477, 36511, 36898, 36903 from amd64 branch
svn path=/trunk/; revision=37910
2008-12-07 12:11:46 +00:00
|
|
|
INT_PTR CALLBACK AboutDialogProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
2006-01-14 17:35:56 +00:00
|
|
|
|
2004-12-15 05:07:53 +00:00
|
|
|
/* utility functions */
|
2012-12-28 15:50:38 +00:00
|
|
|
VOID ShowLastError(VOID);
|
2007-10-09 08:53:25 +00:00
|
|
|
BOOL FileExists(LPCTSTR szFilename);
|
|
|
|
BOOL HasFileExtension(LPCTSTR szFilename);
|
2012-12-28 15:50:38 +00:00
|
|
|
BOOL DoCloseFile(VOID);
|
|
|
|
VOID DoOpenFile(LPCTSTR szFileName);
|
2023-02-17 00:23:25 +00:00
|
|
|
VOID DoShowHideStatusBar(VOID);
|
2010-10-06 22:11:12 +00:00
|
|
|
VOID DoCreateEditWindow(VOID);
|
2023-03-08 18:41:11 +00:00
|
|
|
void UpdateWindowCaption(BOOL clearModifyAlert);
|
2023-09-10 13:27:16 +00:00
|
|
|
VOID WaitCursor(BOOL bBegin);
|