ReactOS  0.4.12-dev-18-gf469aca
dialog.h
Go to the documentation of this file.
1 /*
2  * Notepad (dialog.h)
3  *
4  * Copyright 1998 Marcel Baur <mbaur@g26.ethz.ch>
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 Street, Fifth Floor, Boston, MA 02110-1301 USA
19  */
20 
21 #pragma once
22 
30 
39 
44 
46 
49 
55 
57 
58 int DIALOG_StringMsgBox(HWND hParent, int formatId, LPCTSTR szString, DWORD dwFlags);
59 
61 
62 /* utility functions */
64 BOOL FileExists(LPCTSTR szFilename);
65 BOOL HasFileExtension(LPCTSTR szFilename);
67 VOID DoOpenFile(LPCTSTR szFileName);
VOID ShowLastError(VOID)
Definition: dialog.c:38
Definition: tftpd.h:59
const CHAR * LPCTSTR
Definition: xmlstorage.h:193
VOID DIALOG_EditUndo(VOID)
Definition: dialog.c:777
BOOL DoCloseFile(VOID)
Definition: dialog.c:313
VOID DIALOG_StatusBarUpdateCaretPos(VOID)
Definition: dialog.c:1165
#define CALLBACK
Definition: compat.h:27
int32_t INT_PTR
Definition: typedefs.h:62
VOID DIALOG_HelpSearch(VOID)
VOID DIALOG_EditPaste(VOID)
Definition: dialog.c:792
VOID DIALOG_SelectFont(VOID)
Definition: dialog.c:1019
WPARAM wParam
Definition: combotst.c:138
UINT_PTR WPARAM
Definition: windef.h:207
VOID DIALOG_HelpNoWarranty(VOID)
BOOL DIALOG_FileSave(VOID)
Definition: dialog.c:438
VOID DIALOG_HelpContents(VOID)
Definition: dialog.c:1186
LONG_PTR LPARAM
Definition: windef.h:208
VOID DIALOG_GoTo(VOID)
Definition: dialog.c:1123
BOOL DIALOG_FileSaveAs(VOID)
Definition: dialog.c:510
VOID DIALOG_EditWrap(VOID)
Definition: dialog.c:1003
VOID DIALOG_FilePrint(VOID)
Definition: dialog.c:557
VOID DIALOG_EditDelete(VOID)
Definition: dialog.c:797
VOID DIALOG_Search(VOID)
Definition: dialog.c:1069
VOID DIALOG_HelpLicense(VOID)
unsigned int BOOL
Definition: ntddk_ex.h:94
VOID DIALOG_EditSelectAll(VOID)
Definition: dialog.c:802
VOID DIALOG_TimeDate(VOID)
unsigned int UINT
Definition: ndis.h:50
unsigned long DWORD
Definition: ntddk_ex.h:95
BOOL HasFileExtension(LPCTSTR szFilename)
Definition: dialog.c:162
VOID DIALOG_FileNew(VOID)
Definition: dialog.c:398
int DIALOG_StringMsgBox(HWND hParent, int formatId, LPCTSTR szString, DWORD dwFlags)
Definition: dialog.c:98
VOID DoOpenFile(LPCTSTR szFileName)
Definition: dialog.c:345
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
const DOCKBAR PVOID HWND hParent
Definition: tooldock.h:22
BOOL FileExists(LPCTSTR szFilename)
Definition: dialog.c:151
VOID DIALOG_EditCut(VOID)
Definition: dialog.c:782
VOID DIALOG_EditCopy(VOID)
Definition: dialog.c:787
VOID DoCreateEditWindow(VOID)
Definition: dialog.c:901
VOID DIALOG_ViewStatusBar(VOID)
Definition: dialog.c:1179
VOID DIALOG_HelpAboutNotepad(VOID)
Definition: dialog.c:1191
VOID DIALOG_SearchNext(VOID)
Definition: dialog.c:1074
VOID DIALOG_FileExit(VOID)
Definition: dialog.c:772
VOID DIALOG_EditTimeDate(VOID)
Definition: dialog.c:807
INT_PTR CALLBACK AboutDialogProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
Definition: about.c:13
VOID DIALOG_FilePageSetup(VOID)
Definition: dialog.c:1209
LPARAM lParam
Definition: combotst.c:139
VOID DIALOG_FileOpen(VOID)
Definition: dialog.c:409
VOID DoCreateStatusBar(VOID)
Definition: dialog.c:823
VOID DIALOG_Replace(VOID)
Definition: dialog.c:1082