diff options
Diffstat (limited to 'src/T2OpenFileDialog.h')
-rw-r--r-- | src/T2OpenFileDialog.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/T2OpenFileDialog.h b/src/T2OpenFileDialog.h index fcaf1ff..0fcca2f 100644 --- a/src/T2OpenFileDialog.h +++ b/src/T2OpenFileDialog.h @@ -1,3 +1,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; +}; |