BCGControlBar Pro for MFC
CBCGPFileDialogEx::CBCGPFileDialogEx ( BOOL  bOpenFileDialog,
LPCTSTR  lpszDefExt = NULL,
LPCTSTR  lpszFileName = NULL,
DWORD  dwFlags = OFN_HIDEREADONLY|OFN_OVERWRITEPROMPT,
LPCTSTR  lpszFilter = NULL,
CWnd *  pParentWnd = NULL,
DWORD  dwSize = 0,
BOOL  bVistaStyle = TRUE,
CBCGPFileDialogOptions pOptions = NULL,
UINT  nDlgResID = 0 
)

Constructor.

Parameters
bOpenFileDialogSpecifies a type of dialog box: TRUE - "File Open", FALSE - "File Save As".
lpszDefExtSpecifies a default file name extension.
lpszFileNameThe initial file name.
dwFlagsA combination of OFN_ flags.
lpszFilterSpecifies the filter.
pParentWndA pointer to the parent window.
dwSizeNot used.
bVistaStyleNot used.
pOptionsA pointer to CBCGPFileDialogOptions object.
nDlgResIDA dialog resource ID. Used in CBCGPFileDialogEx-derived classes.