home *** CD-ROM | disk | FTP | other *** search
- // ch3mView.h : interface of the CChapter03MenuView class
- //
- /////////////////////////////////////////////////////////////////////////////
-
- class CChapter03MenuView : public CView
- {
- protected: // create from serialization only
- CChapter03MenuView();
- DECLARE_DYNCREATE(CChapter03MenuView)
-
- // Attributes
- public:
- CChapter03MenuDoc* GetDocument();
-
- // Operations
- public:
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CChapter03MenuView)
- public:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- protected:
- virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
- virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
- //}}AFX_VIRTUAL
-
- // Implementation
- public:
- virtual ~CChapter03MenuView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
-
- protected:
-
- // Generated message map functions
- protected:
- //{{AFX_MSG(CChapter03MenuView)
- afx_msg void OnTimeDateTime();
- afx_msg void OnTimeStartTimer();
- afx_msg void OnTimeStopTimer();
- afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
- afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
- afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
- afx_msg void OnMouseMove(UINT nFlags, CPoint point);
- afx_msg void OnTimer(UINT nIDEvent);
- afx_msg void OnTimeTimeDialog();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
-
- #ifndef _DEBUG // debug version in ch3mView.cpp
- inline CChapter03MenuDoc* CChapter03MenuView::GetDocument()
- { return (CChapter03MenuDoc*)m_pDocument; }
- #endif
-
- /////////////////////////////////////////////////////////////////////////////
-