-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathFileDialogEx.h
41 lines (32 loc) · 1.16 KB
/
FileDialogEx.h
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
29
30
31
32
33
34
35
36
37
38
39
40
41
#if !defined(AFX_FILEDIALOGEX_H__D315C7CE_CD47_4E87_A714_65D8F442BBF2__INCLUDED_)
#define AFX_FILEDIALOGEX_H__D315C7CE_CD47_4E87_A714_65D8F442BBF2__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// FileDialogEx.h : header file
//
#define IDS_GROUP_SEPARATOR 1900
#define IDS_EDIT_SEPARATOR 1901
/////////////////////////////////////////////////////////////////////////////
// CFileDialogEx dialog
class CFileDialogEx : public CFileDialog
{
DECLARE_DYNAMIC(CFileDialogEx)
public:
CFileDialogEx(BOOL bOpenFileDialog, // TRUE for FileOpen, FALSE for FileSaveAs
LPCTSTR lpszDefExt = NULL,
LPCTSTR lpszFileName = NULL,
DWORD dwFlags = OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT,
LPCTSTR lpszFilter = NULL,
CWnd* pParentWnd = NULL);
protected:
virtual BOOL OnFileNameOK();
protected:
//{{AFX_MSG(CFileDialogEx)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FILEDIALOGEX_H__D315C7CE_CD47_4E87_A714_65D8F442BBF2__INCLUDED_)