1998-02-15 20:40:49 +01:00
|
|
|
/*
|
1998-10-18 16:11:42 +02:00
|
|
|
* Notepad (dialog.h)
|
1998-02-15 20:40:49 +01:00
|
|
|
*
|
1998-10-18 16:11:42 +02:00
|
|
|
* Copyright 1998 Marcel Baur <mbaur@g26.ethz.ch>
|
2002-03-10 00:29:33 +01: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 14:49:52 +02:00
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
1998-02-15 20:40:49 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
VOID DIALOG_FileNew(VOID);
|
|
|
|
VOID DIALOG_FileOpen(VOID);
|
2008-09-09 05:44:36 +02:00
|
|
|
BOOL DIALOG_FileSave(VOID);
|
|
|
|
BOOL DIALOG_FileSaveAs(VOID);
|
1998-02-15 20:40:49 +01: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 22:05:33 +02:00
|
|
|
VOID DIALOG_EditWrap(VOID);
|
1998-02-15 20:40:49 +01:00
|
|
|
|
|
|
|
VOID DIALOG_Search(VOID);
|
|
|
|
VOID DIALOG_SearchNext(VOID);
|
2009-04-25 17:53:58 +02:00
|
|
|
VOID DIALOG_Replace(VOID);
|
1998-02-15 20:40:49 +01:00
|
|
|
|
2003-01-28 02:10:28 +01:00
|
|
|
VOID DIALOG_SelectFont(VOID);
|
|
|
|
|
1998-02-15 20:40:49 +01:00
|
|
|
VOID DIALOG_HelpContents(VOID);
|
|
|
|
VOID DIALOG_HelpSearch(VOID);
|
|
|
|
VOID DIALOG_HelpHelp(VOID);
|
2008-03-28 18:53:31 +01:00
|
|
|
VOID DIALOG_HelpAboutNotepad(VOID);
|
1998-02-15 20:40:49 +01:00
|
|
|
|
1998-03-15 21:29:56 +01:00
|
|
|
VOID DIALOG_TimeDate(VOID);
|
2006-10-22 18:54:51 +02:00
|
|
|
int DIALOG_StringMsgBox(HWND hParent, int formatId, LPCWSTR szString, DWORD dwFlags);
|
1998-02-15 20:40:49 +01:00
|
|
|
|
2002-07-08 21:41:09 +02:00
|
|
|
/* utility functions */
|
2005-06-20 16:18:03 +02:00
|
|
|
VOID ShowLastError(void);
|
2003-07-21 22:05:33 +02:00
|
|
|
BOOL FileExists(LPCWSTR szFilename);
|
2002-07-08 21:41:09 +02:00
|
|
|
BOOL DoCloseFile(void);
|
2003-07-21 22:05:33 +02:00
|
|
|
void DoOpenFile(LPCWSTR szFileName);
|