Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
wine-mirror
GitHub Repository: wine-mirror/wine
Path: blob/master/programs/notepad/dialog.h
4389 views
1
/*
2
* Notepad (dialog.h)
3
*
4
* Copyright 1998 Marcel Baur <[email protected]>
5
*
6
* This library is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU Lesser General Public
8
* License as published by the Free Software Foundation; either
9
* version 2.1 of the License, or (at your option) any later version.
10
*
11
* This library is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* Lesser General Public License for more details.
15
*
16
* You should have received a copy of the GNU Lesser General Public
17
* License along with this library; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19
*/
20
21
VOID DIALOG_FileNew(VOID);
22
VOID DIALOG_FileOpen(VOID);
23
BOOL DIALOG_FileSave(VOID);
24
BOOL DIALOG_FileSaveAs(VOID);
25
VOID DIALOG_FilePrint(VOID);
26
VOID DIALOG_FilePageSetup(VOID);
27
VOID DIALOG_FilePrinterSetup(VOID);
28
VOID DIALOG_FileExit(VOID);
29
30
VOID DIALOG_EditUndo(VOID);
31
VOID DIALOG_EditCut(VOID);
32
VOID DIALOG_EditCopy(VOID);
33
VOID DIALOG_EditPaste(VOID);
34
VOID DIALOG_EditDelete(VOID);
35
VOID DIALOG_EditSelectAll(VOID);
36
VOID DIALOG_EditTimeDate(VOID);
37
VOID DIALOG_EditWrap(VOID);
38
39
VOID DIALOG_Search(VOID);
40
VOID DIALOG_SearchNext(VOID);
41
VOID DIALOG_Replace(VOID);
42
void DIALOG_EditGoTo(void);
43
44
VOID DIALOG_SelectFont(VOID);
45
46
VOID DIALOG_HelpContents(VOID);
47
VOID DIALOG_HelpSearch(VOID);
48
VOID DIALOG_HelpAboutNotepad(VOID);
49
50
VOID DIALOG_TimeDate(VOID);
51
int DIALOG_StringMsgBox(HWND hParent, int formatId, LPCWSTR szString, DWORD dwFlags);
52
53
/* utility functions */
54
VOID ShowLastError(void);
55
void UpdateWindowCaption(void);
56
BOOL FileExists(LPCWSTR szFilename);
57
BOOL DoCloseFile(void);
58
void DoOpenFile(LPCWSTR szFileName, ENCODING enc);
59
60