blob: 0fcca2f3e6a287fcfd37f22e2583dd410d62c5ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#pragma once
#include "common.h"
#include "T2FilePreview.h"
#include <AFXEXT.H>
class T2OpenFileDialog : public CFileDialog {
DECLARE_DYNAMIC(T2OpenFileDialog)
DECLARE_MESSAGE_MAP()
public:
T2OpenFileDialog(BOOL bOpenFileDialog, const CHAR *lpszDefExt, const CHAR *lpszFileName, DWORD dwFlags,
const CHAR *lpszFilter, CWnd *pParentWnd);
virtual BOOL OnInitDialog();
protected:
virtual void OnFileNameChange();
afx_msg void OnClose();
T2FilePreview mFilePreview;
};
|