BCGSuite for MFC
CBCGPFileDialog::CBCGPFileDialog ( LPCTSTR  lpszCaption,
BOOL  bNewPage,
LPCTSTR  lpszDefExt = NULL,
LPCTSTR  lpszFileName = NULL,
DWORD  dwFlags = OFN_HIDEREADONLY|OFN_OVERWRITEPROMPT,
LPCTSTR  lpszFilter = NULL,
CWnd *  pParentWnd = NULL 
)

Constructor.

Parameters
lpszCaptionThe dialog caption.
bNewPageTRUE to new page.
lpszDefExtSpecifies a default file extention.
lpszFileNameSpecifies a default file name.
dwFlagsThe dialog flags (see CFileDialog documentation).
lpszFilterSpecifies the filter.
pParentWnd(Optional) A pointer to the parent window.