diff options
Diffstat (limited to 'src/T2MsgWindow.h')
-rw-r--r-- | src/T2MsgWindow.h | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/src/T2MsgWindow.h b/src/T2MsgWindow.h index 0a703d6..81c60e0 100644 --- a/src/T2MsgWindow.h +++ b/src/T2MsgWindow.h @@ -3,22 +3,12 @@ class T2MsgWindow : public CFrameWnd { DECLARE_DYNCREATE(T2MsgWindow) - DECLARE_MESSAGE_MAP() public: T2MsgWindow(); virtual ~T2MsgWindow(); void SetDocument(T2TowerDoc *inDoc); - virtual BOOL PreTranslateMessage(MSG *pMsg); - -protected: - afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); - afx_msg BOOL OnQueryNewPalette(); - afx_msg BOOL OnEraseBkgnd(CDC *pDC); - virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT *pResult); - afx_msg void OnClose(); -protected: CString mWndClass; T2MWControl *mClockControl; T2MWControl *mCalendarControl; @@ -30,4 +20,20 @@ protected: T2WorldDef *mWorldDef; CToolTipCtrl mToolTip; BOOL mIsSetUp; + + //{{AFX_VIRTUAL(T2MsgWindow) + public: + virtual BOOL PreTranslateMessage(MSG *pMsg); + protected: + virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT *pResult); + //}}AFX_VIRTUAL + +protected: + //{{AFX_MSG(T2MsgWindow) + afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); + afx_msg BOOL OnQueryNewPalette(); + afx_msg BOOL OnEraseBkgnd(CDC *pDC); + afx_msg void OnClose(); + //}}AFX_MSG + DECLARE_MESSAGE_MAP() }; |