home *** CD-ROM | disk | FTP | other *** search
/ Delphi 5 for Professionals / DELPHI5.iso / AddOns / Components / Cell Control / DATA1.CAB / VCDEMO_Files / VCDemoView.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-01-11  |  2.3 KB  |  85 lines

  1. // VCDemoView.h : interface of the CVCDemoView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. #if !defined(AFX_VCDEMOVIEW_H__32D9D950_CC76_11D1_8DD8_444553540000__INCLUDED_)
  6. #define AFX_VCDEMOVIEW_H__32D9D950_CC76_11D1_8DD8_444553540000__INCLUDED_
  7.  
  8. #if _MSC_VER >= 1000
  9. #pragma once
  10. #endif // _MSC_VER >= 1000
  11.  
  12. class CVCDemoView : public CView
  13. {
  14. protected: // create from serialization only
  15.     CVCDemoView();
  16.     DECLARE_DYNCREATE(CVCDemoView)
  17.  
  18. // Attributes
  19. public:
  20.     CVCDemoDoc* GetDocument();
  21.  
  22. // Operations
  23. public:
  24.  
  25. // Overrides
  26.     // ClassWizard generated virtual function overrides
  27.     //{{AFX_VIRTUAL(CVCDemoView)
  28.     public:
  29.     virtual void OnDraw(CDC* pDC);  // overridden to draw this view
  30.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  31.     protected:
  32.     virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
  33.     virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
  34.     virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
  35.     //}}AFX_VIRTUAL
  36.  
  37. // Implementation
  38. public:
  39.     virtual ~CVCDemoView();
  40. #ifdef _DEBUG
  41.     virtual void AssertValid() const;
  42.     virtual void Dump(CDumpContext& dc) const;
  43. #endif
  44.  
  45. protected:
  46.  
  47. // Generated message map functions
  48. protected:
  49.     //{{AFX_MSG(CVCDemoView)
  50.     afx_msg void OnDemoUserfunc();
  51.     afx_msg void OnDemoCelltype();
  52.     afx_msg void OnDemoChart();
  53.     afx_msg void OnDemoFace();
  54.     afx_msg void OnDemoFormula();
  55.     afx_msg void OnDemoShowonly();
  56.     afx_msg void OnDemoSize();
  57.     afx_msg void OnDemoSort();
  58.     afx_msg void OnDemoBk();
  59.     afx_msg void OnDemoCellstyle();
  60.     afx_msg void OnDemoCopy();
  61.     afx_msg void OnDemoDrag();
  62.     afx_msg void OnDemoInput();
  63.     afx_msg void OnDemoPages();
  64.     afx_msg void OnDemoPrint();
  65.     afx_msg void OnDemoDropgrid();
  66.     afx_msg void OnDemoSaveload();
  67.     afx_msg void OnDemoDbase();
  68.     afx_msg void OnDemoUndo();
  69.     afx_msg void OnDemoUnscroll();
  70.     //}}AFX_MSG
  71.     DECLARE_MESSAGE_MAP()
  72. };
  73.  
  74. #ifndef _DEBUG  // debug version in VCDemoView.cpp
  75. inline CVCDemoDoc* CVCDemoView::GetDocument()
  76.    { return (CVCDemoDoc*)m_pDocument; }
  77. #endif
  78.  
  79. /////////////////////////////////////////////////////////////////////////////
  80.  
  81. //{{AFX_INSERT_LOCATION}}
  82. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  83.  
  84. #endif // !defined(AFX_VCDEMOVIEW_H__32D9D950_CC76_11D1_8DD8_444553540000__INCLUDED_)
  85.