CFileDialog::CFileDialog

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.

Syntax

CFileDialog( BOOL bOpenFileDialog, LPCTSTR lpszDefExt = NULL, LPCTSTR lpszFileName = NULL, DWORD dwFlags = OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT, LPCTSTR lpszFilter = NULL, CWnd* pParentWnd = NULL );

At a Glance

Header File Afxdlgs.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CFileDialog Overview, CFileDialog Member Functions, Dialog Box Classes, CFileDialog::DoModal