#pragma once #include "common.h" class T2GraphWindow : public CFrameWnd { protected: T2GraphWindow(); DECLARE_DYNCREATE(T2GraphWindow) public: virtual ~T2GraphWindow(); void SetDocument(T2TowerDoc *inDoc); T2TowerDoc *mDocument; //{{AFX_VIRTUAL(T2GraphWindow) //}}AFX_VIRTUAL protected: //{{AFX_MSG(T2GraphWindow) afx_msg BOOL OnEraseBkgnd(CDC *pDC); afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar *pScrollBar); afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg BOOL OnQueryNewPalette(); //}}AFX_MSG DECLARE_MESSAGE_MAP() };