home *** CD-ROM | disk | FTP | other *** search
/ Master Visual C++ 1.5 / MASTERVC15.ISO / vcprog / original / ch05 / var / varview.h < prev   
Encoding:
C/C++ Source or Header  |  1994-01-19  |  1.0 KB  |  46 lines

  1. // varview.h : interface of the CVarView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. class CVarView : public CView
  6. {
  7. protected: // create from serialization only
  8.     CVarView();
  9.     DECLARE_DYNCREATE(CVarView)
  10.  
  11. // Attributes
  12. public:
  13.     CVarDoc* GetDocument();
  14.  
  15. // Operations
  16. public:
  17.  
  18. // Implementation
  19. public:
  20.     virtual ~CVarView();
  21.     virtual void OnDraw(CDC* pDC);  // overridden to draw this view
  22. #ifdef _DEBUG
  23.     virtual void AssertValid() const;
  24.     virtual void Dump(CDumpContext& dc) const;
  25. #endif
  26.  
  27. protected:
  28.  
  29. // Generated message map functions
  30. protected:
  31.     //{{AFX_MSG(CVarView)
  32.     afx_msg void OnFileCurrentvalue();
  33.     afx_msg void OnFileTwo();
  34.     afx_msg void OnFileOne();
  35.     afx_msg void OnFileThree();
  36.     //}}AFX_MSG
  37.     DECLARE_MESSAGE_MAP()
  38. };
  39.  
  40. #ifndef _DEBUG  // debug version in varview.cpp
  41. inline CVarDoc* CVarView::GetDocument()
  42.    { return (CVarDoc*)m_pDocument; }
  43. #endif
  44.  
  45. /////////////////////////////////////////////////////////////////////////////
  46.