8 #ifndef __StdDlg_h_incl__ 9 #define __StdDlg_h_incl__ 21 #define DLGHOOKPROC UINT_PTR CALLBACK 43 #define REGISTER_CommonHelp() \ 44 if (!WM_CommonHelp) WM_CommonHelp = RegisterWindowMessage( HELPMSGSTRING ) 46 #define REGISTER_FileOk() \ 47 if (!WM_FileOk) WM_FileOk = RegisterWindowMessage( FILEOKSTRING ) 49 #define REGISTER_SelChange() \ 50 if (!WM_SelChange) WM_SelChange = RegisterWindowMessage( LBSELCHSTRING ) 52 #define REGISTER_ShareViolation() \ 53 if (!WM_ShareViolation) WM_ShareViolation = RegisterWindowMessage( SHAREVISTRING ) 55 #define REGISTER_FindReplace() \ 56 if (!WM_FindReplace) WM_FindReplace = RegisterWindowMessage( FINDMSGSTRING ) 58 #define REGISTER_ColorOk() \ 59 if (!WM_ColorOk) WM_ColorOk = RegisterWindowMessage( COLOROKSTRING ) 61 #define REGISTER_SetRGB() \ 62 if (!WM_SetRGB) WM_SetRGB = RegisterWindowMessage( SETRGBSTRING ) 69 #define FDLG_USEINITDIR 1 // Build option: Support lpstrInitialDir. 120 void SetOwner( HWND owner, HINSTANCE hInst = NULL );
150 void _updateOffsets();
158 #ifndef FR_ACTIONMASK // (wCore and WCL defines this too) 159 #define FRX_FINDALL 0x00100000 // Use an undefined Flags bit as 'Find All' 160 #define FR_ACTIONMASK (FR_FINDNEXT| FR_REPLACE |FR_REPLACEALL| FR_DIALOGTERM| FRX_FINDALL) 161 #define FR_OPTIONMASK (FR_DOWN| FR_MATCHCASE| FR_WHOLEWORD) 192 void SetOwner( HWND Owner, HINSTANCE hInst = NULL );
239 void SetOwner( HWND Owner, HINSTANCE hInst = NULL );
284 void SetOwner( HWND Owner, HINSTANCE hInst = NULL );
296 #ifndef BIF_DEFAULT // Also defined by wCore (commercial lib) 297 #define BIF_DEFAULT (BIF_RETURNONLYFSDIRS| BIF_NEWDIALOGSTYLE| BIF_EDITBOX) 335 void SetRoot( LPITEMIDLIST pidl );
356 #endif//ndef __StdDlg_h_incl__
static CCSTR DefaultTitle
const CSTR ALLFILE_FILTER
FindDialog(HWND Owner=NULL)
bool ForEach(FDLG_ItemProc Action, PVOID UserData)
void SetFaceName(CSTR Face)
bool SetRootCsid(int csId)
bool GetLogFontFromDC(HDC hDC)
DirDialog(HWND Owner=NULL, UINT Flags=(BIF_RETURNONLYFSDIRS|BIF_NEWDIALOGSTYLE|BIF_EDITBOX))
class FontDialog * PFontDialog
IFolderFilterSite * pFilterSite
void SetTypeface(CSTR Face, WORD Points, WORD Weight, BYTE ChrSet=ANSI_CHARSET)
bool SetInitialDir(CSTR Dir)
class FindDialog * PFindDialog
CSTR PickFile(HWND owner, CSTR caption, CSTR filter)
ACSTR CDErrorMsg(DWORD Err=0)
void SetOwner(HWND owner, HINSTANCE hInst=NULL)
static UINT_PTR CALLBACK _Hook(HWND hwnd, UINT msg, LPARAM lp, LPARAM data)
FileDialog(HWND owner=NULL)
CSTR SetFilename(CSTR PathName)
void SetOwner(HWND Owner, HINSTANCE hInst=NULL)
bool __forceinline bool_cast(BOOL B52)
static IFolderFilter * FolderFilter
void SetOwner(HWND Owner, HINSTANCE hInst=NULL)
void SetOwner(HWND Owner)
bool(CALLBACK * FDLG_ItemProc)(CSTR FileName, PVOID UserData)
bool SetRootDir(CSTR Dir)
Common include; Added types, small "ubiquitous" utilities, et c.
class FileDialog * PFileDialog
void SetOwner(HWND Owner, HINSTANCE hInst=NULL)
class ColorDialog * PColorDialog
class DirDialog * PDirDialog
void SetRoot(LPITEMIDLIST pidl)