System standard dialog wrapper classes.
#include <uLib/StdDlg.h>
These classes add supplementary functionality to the standard dialogs
enhancing their functionality and/or easing their use.
◆ DLGHOOKPROC
#define DLGHOOKPROC UINT_PTR CALLBACK |
◆ REGISTER_CommonHelp
◆ REGISTER_FileOk
#define REGISTER_FileOk |
( |
| ) |
if (!WM_FileOk) WM_FileOk = RegisterWindowMessage( FILEOKSTRING ) |
◆ REGISTER_SelChange
◆ REGISTER_ShareViolation
◆ REGISTER_FindReplace
◆ REGISTER_ColorOk
◆ REGISTER_SetRGB
#define REGISTER_SetRGB |
( |
| ) |
if (!WM_SetRGB) WM_SetRGB = RegisterWindowMessage( SETRGBSTRING ) |
◆ FRX_FINDALL
#define FRX_FINDALL 0x00100000 |
◆ FR_ACTIONMASK
#define FR_ACTIONMASK (FR_FINDNEXT| FR_REPLACE |FR_REPLACEALL| FR_DIALOGTERM| FRX_FINDALL) |
◆ FR_OPTIONMASK
#define FR_OPTIONMASK (FR_DOWN| FR_MATCHCASE| FR_WHOLEWORD) |
◆ BIF_DEFAULT
#define BIF_DEFAULT (BIF_RETURNONLYFSDIRS| BIF_NEWDIALOGSTYLE| BIF_EDITBOX) |
◆ PFileDialog
◆ PDirDialog
◆ PFindDialog
◆ PFontDialog
◆ PColorDialog
◆ FDLG_ItemProc
typedef bool(CALLBACK * FDLG_ItemProc) (CSTR FileName, PVOID UserData) |
FDLG_ItemProc is the callback function type for FileDialog::ForEach().
Return false to stop enumeration.
- Parameters
-
FileName | Full pathname of a file. |
UserData | Whatever you passed in to ForEach. |
Definition at line 79 of file StdDlg.h.
◆ CDErrorMsg()
Return a common dialog error mnemonic.
Definition at line 23 of file StdDlg.cpp.
◆ WM_CommonHelp
Registered HELPMSGSTRING. All common dialog boxes send this.
Definition at line 13 of file StdDlg.cpp.
◆ WM_FileOk
Registered FILEOKSTRING. An Open or Save As dialog box sends this.
Definition at line 14 of file StdDlg.cpp.
◆ WM_SelChange
Registered LBSELCHSTRING. An Open or Save As dialog box sends this.
Definition at line 15 of file StdDlg.cpp.
◆ WM_ShareViolation
Registered SHAREVISTRING. An Open or Save As dialog box sends this.
Definition at line 16 of file StdDlg.cpp.
◆ WM_FindReplace
Registered FINDMSGSTRING. A Find or Replace dialog box sends this.
Definition at line 17 of file StdDlg.cpp.
◆ WM_ColorOk
Registered COLOROKSTRING. A Color dialog box sends this.
Definition at line 18 of file StdDlg.cpp.
◆ WM_SetRGB
Registered SETRGBSTRING. A hook procedure can send this.
Definition at line 19 of file StdDlg.cpp.
◆ ALLFILE_FILTER
const CSTR ALLFILE_FILTER |
"All Files\0*.*\0"
Definition at line 83 of file StdDlg.cpp.