home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic 4 Power Pack / Visual_Basic4_Power_Pack.bin / vb4files / schedvbx / samples.z / VCSAMVW.H < prev    next >
Encoding:
C/C++ Source or Header  |  1995-03-17  |  1.4 KB  |  56 lines

  1. // vcsamvw.h : interface of the CVcsamp1View class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. class CVcsamp1View : public CView
  6. {
  7. protected: // create from serialization only
  8.     CVcsamp1View();
  9.     DECLARE_DYNCREATE(CVcsamp1View)
  10.  
  11. // Attributes
  12. public:
  13.     CVcsamp1Doc* GetDocument();
  14.     CScheduleVBX* m_SchedVBX;
  15.  
  16. // Operations
  17. public:
  18.  
  19. // Implementation
  20. public:
  21.     virtual ~CVcsamp1View();
  22.     virtual void OnDraw(CDC* pDC);  // overridden to draw this view
  23. #ifdef _DEBUG
  24.     virtual void AssertValid() const;
  25.     virtual void Dump(CDumpContext& dc) const;
  26. #endif
  27.  
  28. protected:
  29.  
  30.     // Printing support
  31.     virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
  32.     virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
  33.     virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
  34.     void OnInitialUpdate();
  35.  
  36. // Generated message map functions
  37. protected:
  38.     //{{AFX_MSG(CVcsamp1View)
  39.     afx_msg void OnDialog();
  40.     afx_msg void OnSize(UINT nType, int cx, int cy);
  41.     afx_msg void OnResourceview();
  42.     afx_msg void OnYearlyview();
  43.     afx_msg void OnMonthlyview();
  44.     afx_msg void OnWeeklyview();
  45.     afx_msg void OnDailyview();
  46.     //}}AFX_MSG
  47.     DECLARE_MESSAGE_MAP()
  48. };
  49.  
  50. #ifndef _DEBUG  // debug version in vcsamvw.cpp
  51. inline CVcsamp1Doc* CVcsamp1View::GetDocument()
  52.    { return (CVcsamp1Doc*)m_pDocument; }
  53. #endif
  54.  
  55. /////////////////////////////////////////////////////////////////////////////
  56.