/*1* Notepad (dialog.h)2*3* Copyright 1998 Marcel Baur <[email protected]>4*5* This library is free software; you can redistribute it and/or6* modify it under the terms of the GNU Lesser General Public7* License as published by the Free Software Foundation; either8* version 2.1 of the License, or (at your option) any later version.9*10* This library is distributed in the hope that it will be useful,11* but WITHOUT ANY WARRANTY; without even the implied warranty of12* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU13* Lesser General Public License for more details.14*15* You should have received a copy of the GNU Lesser General Public16* License along with this library; if not, write to the Free Software17* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA18*/1920VOID DIALOG_FileNew(VOID);21VOID DIALOG_FileOpen(VOID);22BOOL DIALOG_FileSave(VOID);23BOOL DIALOG_FileSaveAs(VOID);24VOID DIALOG_FilePrint(VOID);25VOID DIALOG_FilePageSetup(VOID);26VOID DIALOG_FilePrinterSetup(VOID);27VOID DIALOG_FileExit(VOID);2829VOID DIALOG_EditUndo(VOID);30VOID DIALOG_EditCut(VOID);31VOID DIALOG_EditCopy(VOID);32VOID DIALOG_EditPaste(VOID);33VOID DIALOG_EditDelete(VOID);34VOID DIALOG_EditSelectAll(VOID);35VOID DIALOG_EditTimeDate(VOID);36VOID DIALOG_EditWrap(VOID);3738VOID DIALOG_Search(VOID);39VOID DIALOG_SearchNext(VOID);40VOID DIALOG_Replace(VOID);41void DIALOG_EditGoTo(void);4243VOID DIALOG_SelectFont(VOID);4445VOID DIALOG_HelpContents(VOID);46VOID DIALOG_HelpSearch(VOID);47VOID DIALOG_HelpAboutNotepad(VOID);4849VOID DIALOG_TimeDate(VOID);50int DIALOG_StringMsgBox(HWND hParent, int formatId, LPCWSTR szString, DWORD dwFlags);5152/* utility functions */53VOID ShowLastError(void);54void UpdateWindowCaption(void);55BOOL FileExists(LPCWSTR szFilename);56BOOL DoCloseFile(void);57void DoOpenFile(LPCWSTR szFileName, ENCODING enc);585960