diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-06-28 22:22:32 +0100 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-06-28 22:22:32 +0100 |
commit | c0c336500955a23e344651e5412c9d9d441ef4ee (patch) | |
tree | 790769c748db307cf3314f6e896e2f61c68561a2 /src/T2DLL/T2Message.h | |
parent | 37e364b2c6cc7487a1c888d256a73e5337bb7189 (diff) | |
download | t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.tar.gz t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.zip |
first pass of T2DLL
Diffstat (limited to '')
-rw-r--r-- | src/T2DLL/T2Message.h | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/src/T2DLL/T2Message.h b/src/T2DLL/T2Message.h index 816cc61..7b16240 100644 --- a/src/T2DLL/T2Message.h +++ b/src/T2DLL/T2Message.h @@ -1,24 +1,29 @@ #pragma once #include "common.h" -class T2Message { +class AFX_EXT_CLASS T2Message : public CWnd { + DECLARE_MESSAGE_MAP() public: T2Message(); void ShowMessage(const CString&); protected: virtual ~T2Message(); - static const AFX_MSGMAP* __stdcall _GetBaseMessageMap(); - virtual const AFX_MSGMAP* GetMessageMap() const; virtual void PostNcDestroy(); - int OnCreate(CREATESTRUCTA*); + int OnCreate(CREATESTRUCT*); void OnTimer(unsigned int); - long OnHookMessage(unsigned int, long); - void OnLButtonDown(unsigned int, CPoint); - void OnRButtonDown(unsigned int, CPoint); - void OnKeyDown(unsigned int, unsigned int, unsigned int); + long OnHookMessage(UINT, LONG); + void OnLButtonDown(UINT, CPoint); + void OnRButtonDown(UINT, CPoint); + void OnKeyDown(UINT, UINT, UINT); void OnDestroy(); int OnEraseBkgnd(CDC*); - static const AFX_MSGMAP messageMap; -private: - static const AFX_MSGMAP_ENTRY* const _messageEntries; + +protected: + CString mString; + CFont mFont; + CBrush mBrush; + CRect mRect1; + CRect mRect2; + int m74; + BOOL m78; }; |