home *** CD-ROM | disk | FTP | other *** search
/ Mastering Microsoft Visual C++ 4 (2nd Edition) / VisualC4.ISO / wingreet / wingrvw.h < prev   
Encoding:
C/C++ Source or Header  |  1995-11-30  |  1.3 KB  |  52 lines

  1. // WinGrVw.h : interface of the CWinGreetView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. class CWinGreetView : public CView
  6. {
  7. protected: // create from serialization only
  8.    CWinGreetView();
  9.    DECLARE_DYNCREATE(CWinGreetView)
  10.  
  11. // Attributes
  12. public:
  13.    CWinGreetDoc* GetDocument();
  14.  
  15. // Operations
  16. public:
  17.  
  18. // Overrides
  19.    // ClassWizard generated virtual function overrides
  20.    //{{AFX_VIRTUAL(CWinGreetView)
  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 ~CWinGreetView();
  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(CWinGreetView)
  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 WinGrVw.cpp
  47. inline CWinGreetDoc* CWinGreetView::GetDocument()
  48.    { return (CWinGreetDoc*)m_pDocument; }
  49. #endif
  50.  
  51. /////////////////////////////////////////////////////////////////////////////
  52.