summaryrefslogtreecommitdiff
path: root/src/T2OpenFileDialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/T2OpenFileDialog.h')
-rw-r--r--src/T2OpenFileDialog.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/src/T2OpenFileDialog.h b/src/T2OpenFileDialog.h
index 0fcca2f..713d73c 100644
--- a/src/T2OpenFileDialog.h
+++ b/src/T2OpenFileDialog.h
@@ -1,20 +1,26 @@
#pragma once
#include "common.h"
+#include "resource.h"
#include "T2FilePreview.h"
-#include <AFXEXT.H>
class T2OpenFileDialog : public CFileDialog {
- DECLARE_DYNAMIC(T2OpenFileDialog)
- DECLARE_MESSAGE_MAP()
-
public:
+ DECLARE_DYNAMIC(T2OpenFileDialog)
T2OpenFileDialog(BOOL bOpenFileDialog, const CHAR *lpszDefExt, const CHAR *lpszFileName, DWORD dwFlags,
const CHAR *lpszFilter, CWnd *pParentWnd);
+
+ T2FilePreview mFilePreview;
+
+ //{{AFX_VIRTUAL(T2OpenFileDialog)
+ public:
virtual BOOL OnInitDialog();
+ protected:
+ virtual void OnFileNameChange();
+ //}}AFX_VIRTUAL
protected:
- virtual void OnFileNameChange();
+ //{{AFX_MSG(T2OpenFileDialog)
afx_msg void OnClose();
-
- T2FilePreview mFilePreview;
+ //}}AFX_MSG
+ DECLARE_MESSAGE_MAP()
};