home *** CD-ROM | disk | FTP | other *** search
- // ToolView.h : interface of the CToolView class
- //
- /////////////////////////////////////////////////////////////////////////////
-
- class CToolView : public CView
- {
- protected: // create from serialization only
- CToolView();
- DECLARE_DYNCREATE(CToolView)
-
- // Attributes
- public:
- CToolDoc* GetDocument();
-
- // Operations
- public:
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CToolView)
- public:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- protected:
- //}}AFX_VIRTUAL
-
- // Implementation
- public:
- virtual ~CToolView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
-
- protected:
-
- // Generated message map functions
- protected:
- //{{AFX_MSG(CToolView)
- afx_msg void OnColorsBlack();
- afx_msg void OnColorsBlue();
- afx_msg void OnColorsGreen();
- afx_msg void OnColorsRed();
- afx_msg void OnUpdateColorsBlack(CCmdUI* pCmdUI);
- afx_msg void OnUpdateColorsBlue(CCmdUI* pCmdUI);
- afx_msg void OnUpdateColorsGreen(CCmdUI* pCmdUI);
- afx_msg void OnUpdateColorsRed(CCmdUI* pCmdUI);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
-
- #ifndef _DEBUG // debug version in ToolView.cpp
- inline CToolDoc* CToolView::GetDocument()
- { return (CToolDoc*)m_pDocument; }
- #endif
-
- /////////////////////////////////////////////////////////////////////////////
-