-
Notifications
You must be signed in to change notification settings - Fork 2
/
FileDlg.h
39 lines (34 loc) · 1.19 KB
/
FileDlg.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
#if !defined(AFX_FILEDLG_H__CD6974FB_28BB_4F52_A586_1E6812E9FD60__INCLUDED_)
#define AFX_FILEDLG_H__CD6974FB_28BB_4F52_A586_1E6812E9FD60__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// FileDlg.h : header file
//
#include <vector>
/////////////////////////////////////////////////////////////////////////////
// CFileDlg dialog
class CFileDlg : public CFileDialog
{
CString szFileNameBuffer;
DECLARE_DYNAMIC(CFileDlg)
public:
CFileDlg(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:
//{{AFX_MSG(CFileDlg)
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
// const int GetCurFileList(std::vector<CString>& vstrFilePath, const CString& FileNameExt);
const int GetSelFileList(std::vector<CString>& vstrFilePath);
void SetSelMultiFileTotal(const int&);
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FILEDLG_H__CD6974FB_28BB_4F52_A586_1E6812E9FD60__INCLUDED_)