home *** CD-ROM | disk | FTP | other *** search
- // testView.h : interface of the CTestView class
- //
- /////////////////////////////////////////////////////////////////////////////
-
- class CTestView : public CEditView
- {
- protected: // create from serialization only
- CTestView();
- DECLARE_DYNCREATE(CTestView)
-
- // Attributes
- public:
- CTestDoc* GetDocument();
-
- // Operations
- public:
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CTestView)
- public:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- protected:
- //}}AFX_VIRTUAL
-
- // Implementation
- public:
- virtual ~CTestView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
-
- protected:
-
- // Generated message map functions
- protected:
- //{{AFX_MSG(CTestView)
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
-
- #ifndef _DEBUG // debug version in testView.cpp
- inline CTestDoc* CTestView::GetDocument()
- { return (CTestDoc*)m_pDocument; }
- #endif
-
-
- /////////////////////////////////////////////////////////////////////////////
-