#pragma once #include "common.h" class AFX_CLASS_EXPORT T2Message : public CWnd { DECLARE_MESSAGE_MAP() public: T2Message(); void ShowMessage(const CString&); protected: virtual ~T2Message(); virtual void PostNcDestroy(); int OnCreate(CREATESTRUCT*); void OnTimer(unsigned int); long OnHookMessage(UINT, LONG); void OnLButtonDown(UINT, CPoint); void OnRButtonDown(UINT, CPoint); void OnKeyDown(UINT, UINT, UINT); void OnDestroy(); BOOL OnEraseBkgnd(CDC*); protected: CString mString; CFont mFont; CBrush mBrush; CRect mRect1; CRect mRect2; int m74; BOOL m78; };