COpenFileDialog::COpenFileDialog
COpenFileDialog::COpenFileDialog(LPCTSTRlpszDefExt= NULL, LPCTSTRlpszFilter= NULL, LPCTSTRlpszFileName= NULL, DWORDdwFlags= OFN_HIDEREADONLY + OFN_OVERWRITEPROMPT, DWORDdwExFlags= OFN_EX_NOPLACESBAR, HWNDhWndParent= NULL)
Constructor
Defined in: CommonDialogs.h
Parameters
lpszDefExt
Default extension
lpszFilter
Filter for file name extenstions,
lpszFileName
File Name
dwFlags
Hide or show certain files.
dwExFlags
Extended Windows 2000 flags.
hWndParent
Parent window handle
Class Members
COpenFileDialog( LPCTSTR lpszDefExt = NULL, LPCTSTR lpszFilter = NULL, LPCTSTR lpszFileName = NULL, DWORD dwFlags = OFN_HIDEREADONLY | OFN_PATHMUSTEXIST | OFN_FILEMUSTEXIST, #if (_WIN32_WINNT >= 0x0500) DWORD dwExFlags = OFN_EX_NOPLACESBAR, #else DWORD dwExFlags = 0, #endif HWND hWndParent = NULL )
Constructor