home *** CD-ROM | disk | FTP | other *** search
/ Team Palmtops 7 / Palmtops_numero07.iso / WinCE / SDKWindowsCE / HandHeldPCPro30 / sdk.exe / Jupiter SDK / data1.cab / MFC_Samples / cmnctrls / ctrldvw.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-02-19  |  1.3 KB  |  52 lines

  1. // ctrldVw.h : interface of the CCtrldemoView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. class CCtrldemoView : public CView
  6. {
  7. protected: // create from serialization only
  8.     CCtrldemoView();
  9.     DECLARE_DYNCREATE(CCtrldemoView)
  10.  
  11. // Attributes
  12. public:
  13.     CCtrldemoDoc* GetDocument();
  14.  
  15. // Operations
  16. public:
  17.  
  18. // Overrides
  19.     // ClassWizard generated virtual function overrides
  20.     //{{AFX_VIRTUAL(CCtrldemoView)
  21.     public:
  22.     virtual void OnDraw(CDC* pDC);  // overridden to draw this view
  23.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  24.     protected:
  25.     //}}AFX_VIRTUAL
  26.  
  27. // Implementation
  28. public:
  29.     virtual ~CCtrldemoView();
  30. #ifdef _DEBUG
  31.     virtual void AssertValid() const;
  32.     virtual void Dump(CDumpContext& dc) const;
  33. #endif
  34.  
  35. protected:
  36.  
  37. // Generated message map functions
  38. protected:
  39.     //{{AFX_MSG(CCtrldemoView)
  40.         // NOTE - the ClassWizard will add and remove member functions here.
  41.         //    DO NOT EDIT what you see in these blocks of generated code !
  42.     //}}AFX_MSG
  43.     DECLARE_MESSAGE_MAP()
  44. };
  45.  
  46. #ifndef _DEBUG  // debug version in ctrldVw.cpp
  47. inline CCtrldemoDoc* CCtrldemoView::GetDocument()
  48.    { return (CCtrldemoDoc*)m_pDocument; }
  49. #endif
  50.  
  51. /////////////////////////////////////////////////////////////////////////////
  52.