blob: 8f2959187edf4725a19b273d0c2277efaa55eb22 (
plain)
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
|
#include "StdAfx.h"
#include "T2OpenFileDialog.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
IMPLEMENT_DYNAMIC(T2OpenFileDialog, CFileDialog)
T2OpenFileDialog::T2OpenFileDialog(BOOL bOpenFileDialog, const CHAR *lpszDefExt, const CHAR *lpszFileName,
DWORD dwFlags, const CHAR *lpszFilter, CWnd *pParentWnd)
: CFileDialog(bOpenFileDialog, lpszDefExt, lpszFileName, dwFlags, lpszFilter, pParentWnd)
{
}
BEGIN_MESSAGE_MAP(T2OpenFileDialog, CCommonDialog)
//{{AFX_MSG_MAP(T2OpenFileDialog)
ON_WM_CLOSE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/*virtual*/ BOOL T2OpenFileDialog::OnInitDialog() {
return true;
}
/*virtual*/ void T2OpenFileDialog::OnFileNameChange() {
}
void T2OpenFileDialog::OnClose() {
CWnd::OnClose();
}
|