home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Using Visual C++ 4 (Special Edition)
/
Using_Visual_C_4_Special_Edition_QUE_1996.iso
/
ch03
/
ch3_menu
/
ch3mview.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-09-23
|
2KB
|
61 lines
// 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
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in ch3mView.cpp
inline CChapter03MenuDoc* CChapter03MenuView::GetDocument()
{ return (CChapter03MenuDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////