From 5e61c1280c15ab9969b94cd360cafd4a11b2dd30 Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Wed, 5 Jul 2023 19:04:06 +0100 Subject: matched T2.exe --- src/T2OpenFileDialog.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/T2OpenFileDialog.h') 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 +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; +}; -- cgit v1.2.3