uLib  User mode C/C++ extended API library for Win32 programmers.
StdDlg.h File Reference
#include <uLib/Common.h>

Go to the source code of this file.

Classes

class  FileDialog
 
class  FindDialog
 
class  FontDialog
 
class  ColorDialog
 
class  DirDialog
 

Macros

#define DLGHOOKPROC   UINT_PTR CALLBACK
 
#define REGISTER_CommonHelp()   if (!WM_CommonHelp) WM_CommonHelp = RegisterWindowMessage( HELPMSGSTRING )
 
#define REGISTER_FileOk()   if (!WM_FileOk) WM_FileOk = RegisterWindowMessage( FILEOKSTRING )
 
#define REGISTER_SelChange()   if (!WM_SelChange) WM_SelChange = RegisterWindowMessage( LBSELCHSTRING )
 
#define REGISTER_ShareViolation()   if (!WM_ShareViolation) WM_ShareViolation = RegisterWindowMessage( SHAREVISTRING )
 
#define REGISTER_FindReplace()   if (!WM_FindReplace) WM_FindReplace = RegisterWindowMessage( FINDMSGSTRING )
 
#define REGISTER_ColorOk()   if (!WM_ColorOk) WM_ColorOk = RegisterWindowMessage( COLOROKSTRING )
 
#define REGISTER_SetRGB()   if (!WM_SetRGB) WM_SetRGB = RegisterWindowMessage( SETRGBSTRING )
 
#define FDLG_OPEN   1
 
#define FDLG_SAVE   2
 
#define FRX_FINDALL   0x00100000
 
#define FR_ACTIONMASK   (FR_FINDNEXT| FR_REPLACE |FR_REPLACEALL| FR_DIALOGTERM| FRX_FINDALL)
 
#define FR_OPTIONMASK   (FR_DOWN| FR_MATCHCASE| FR_WHOLEWORD)
 
#define FD_FIND   1
 
#define FD_REPLACE   2
 
#define FD_CLOSE   3
 
#define BIF_DEFAULT   (BIF_RETURNONLYFSDIRS| BIF_NEWDIALOGSTYLE| BIF_EDITBOX)
 

Typedefs

typedef class FileDialogPFileDialog
 
typedef class DirDialogPDirDialog
 
typedef class FindDialogPFindDialog
 
typedef class FontDialogPFontDialog
 
typedef class ColorDialogPColorDialog
 
typedef bool(CALLBACK * FDLG_ItemProc) (CSTR FileName, PVOID UserData)
 

Functions

ACSTR CDErrorMsg (DWORD Err=0)
 

Variables

UINT WM_CommonHelp
 
UINT WM_FileOk
 
UINT WM_SelChange
 
UINT WM_ShareViolation
 
UINT WM_FindReplace
 
UINT WM_ColorOk
 
UINT WM_SetRGB
 
const CSTR ALLFILE_FILTER
 

Macro Definition Documentation

◆ FDLG_OPEN

#define FDLG_OPEN   1

GetOpenFileName: Allows multiple file selection..

Definition at line 127 of file StdDlg.h.

◆ FDLG_SAVE

#define FDLG_SAVE   2

GetSaveFileName: Allows single file selection only..

Definition at line 128 of file StdDlg.h.

◆ FD_FIND

#define FD_FIND   1

See [MSDN] FindText()

Definition at line 200 of file StdDlg.h.

◆ FD_REPLACE

#define FD_REPLACE   2

See [MSDN] ReplaceText()

Definition at line 201 of file StdDlg.h.

◆ FD_CLOSE

#define FD_CLOSE   3

Close the the dialog programmatically.

Definition at line 202 of file StdDlg.h.