diff options
Diffstat (limited to 'src/T2DLL/T2Message.h')
-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; }; |