[83e312]: FileDialogExt.h Maximize Restore History

Download this file

FileDialogExt.h    29 lines (22 with data), 735 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// FileDialogExt.h
//-----------------------------------------------------------------------------
class CFileDialogExt
: public CFileDialog
{
DECLARE_DYNAMIC(CFileDialogExt)
public:
CFileDialogExt(BOOL bOpenFileDialog, // TRUE=FileOpen, FALSE=FileSaveAs
LPCTSTR lpszDefExt = NULL,
LPCTSTR lpszFileName = NULL,
DWORD dwFlags = OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT,
LPCTSTR lpszFilter = NULL,
CWnd* pParentWnd = NULL);
virtual BOOL OnFileNameOK();
protected:
LPCTSTR m_ext;
DECLARE_MESSAGE_MAP()
};
//-----------------------------------------------------------------------------
// Local variables:
// mode: c++
// End: