1998-02-15 19:40:49 +00:00
|
|
|
/*
|
1998-10-18 14:11:42 +00:00
|
|
|
* Notepad (dialog.h)
|
1998-02-15 19:40:49 +00:00
|
|
|
*
|
1998-10-18 14:11:42 +00:00
|
|
|
* Copyright 1998 Marcel Baur <mbaur@g26.ethz.ch>
|
2002-03-09 23:29:33 +00:00
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
2006-05-18 12:49:52 +00:00
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
1998-02-15 19:40:49 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
VOID DIALOG_FileNew(VOID);
|
|
|
|
VOID DIALOG_FileOpen(VOID);
|
2008-09-09 03:44:36 +00:00
|
|
|
BOOL DIALOG_FileSave(VOID);
|
|
|
|
BOOL DIALOG_FileSaveAs(VOID);
|
1998-02-15 19:40:49 +00:00
|
|
|
VOID DIALOG_FilePrint(VOID);
|
|
|
|
VOID DIALOG_FilePageSetup(VOID);
|
|
|
|
VOID DIALOG_FilePrinterSetup(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);
|
2003-07-21 20:05:33 +00:00
|
|
|
VOID DIALOG_EditWrap(VOID);
|
1998-02-15 19:40:49 +00:00
|
|
|
|
|
|
|
VOID DIALOG_Search(VOID);
|
|
|
|
VOID DIALOG_SearchNext(VOID);
|
2009-04-25 15:53:58 +00:00
|
|
|
VOID DIALOG_Replace(VOID);
|
2022-09-22 22:52:15 +00:00
|
|
|
void DIALOG_EditGoTo(void);
|
1998-02-15 19:40:49 +00:00
|
|
|
|
2003-01-28 01:10:28 +00:00
|
|
|
VOID DIALOG_SelectFont(VOID);
|
|
|
|
|
1998-02-15 19:40:49 +00:00
|
|
|
VOID DIALOG_HelpContents(VOID);
|
|
|
|
VOID DIALOG_HelpSearch(VOID);
|
2008-03-28 17:53:31 +00:00
|
|
|
VOID DIALOG_HelpAboutNotepad(VOID);
|
1998-02-15 19:40:49 +00:00
|
|
|
|
1998-03-15 20:29:56 +00:00
|
|
|
VOID DIALOG_TimeDate(VOID);
|
2006-10-22 16:54:51 +00:00
|
|
|
int DIALOG_StringMsgBox(HWND hParent, int formatId, LPCWSTR szString, DWORD dwFlags);
|
1998-02-15 19:40:49 +00:00
|
|
|
|
2002-07-08 19:41:09 +00:00
|
|
|
/* utility functions */
|
2005-06-20 14:18:03 +00:00
|
|
|
VOID ShowLastError(void);
|
2009-06-30 20:25:02 +00:00
|
|
|
void UpdateWindowCaption(void);
|
2003-07-21 20:05:33 +00:00
|
|
|
BOOL FileExists(LPCWSTR szFilename);
|
2002-07-08 19:41:09 +00:00
|
|
|
BOOL DoCloseFile(void);
|
2009-06-29 22:50:39 +00:00
|
|
|
void DoOpenFile(LPCWSTR szFileName, ENCODING enc);
|