// LabRatView.h : interface of the CLabRatView class // ///////////////////////////////////////////////////////////////////////////// #if !defined (LabRatView_H) # define LabRatView_H #include "LabRat.h" #include "LabRatdoc.h" class CLabRatView : public CView { protected: // create from serialization only CLabRatView(); DECLARE_DYNCREATE(CLabRatView) // Attributes public: CLabRatDoc* GetDocument(); // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CLabRatView) public: virtual void OnDraw(CDC* pDC); // overridden to draw this view virtual BOOL PreCreateWindow(CREATESTRUCT& cs); protected: //}}AFX_VIRTUAL // Implementation public: virtual ~CLabRatView(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Generated message map functions protected: //{{AFX_MSG(CLabRatView) afx_msg void OnSize(UINT nType, int cx, int cy); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; #ifndef _DEBUG // debug version in LabRatView.cpp inline CLabRatDoc* CLabRatView::GetDocument() { return (CLabRatDoc*)m_pDocument; } #endif #endif /////////////////////////////////////////////////////////////////////////////