Call this member function to construct a standard Windows file dialog box-object. Either a Open or Save As dialog box is constructed, depending on the value of bOpenFileDialog.
CFileDialog( BOOL bOpenFileDialog, LPCTSTR lpszDefExt = NULL, LPCTSTR lpszFileName = NULL, DWORD dwFlags = OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT, LPCTSTR lpszFilter = NULL, CWnd* pParentWnd = NULL );
Header File | Afxdlgs.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CFileDialog Overview, CFileDialog Member Functions, Dialog Box Classes, CFileDialog::DoModal