// twoPaneView.h : interface of the CTwoPaneView class // ///////////////////////////////////////////////////////////////////////////// #if !defined(AFX_TWOPANEVIEW_H__51D76EDD_CC86_4466_8E6A_EBB2DB0D45DF__INCLUDED_) #define AFX_TWOPANEVIEW_H__51D76EDD_CC86_4466_8E6A_EBB2DB0D45DF__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include "TwoPaneDoc.h" class CTwoPaneView : public CEditView { protected: // create from serialization only CTwoPaneView(); DECLARE_DYNCREATE(CTwoPaneView) // Attributes public: CTwoPaneDoc* GetDocument(); // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CTwoPaneView) public: virtual void OnDraw(CDC* pDC); // overridden to draw this view virtual BOOL PreCreateWindow(CREATESTRUCT& cs); protected: //}}AFX_VIRTUAL // Implementation public: virtual ~CTwoPaneView(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Generated message map functions protected: //{{AFX_MSG(CTwoPaneView) // NOTE - the ClassWizard will add and remove member functions here. // DO NOT EDIT what you see in these blocks of generated code ! //}}AFX_MSG DECLARE_MESSAGE_MAP() }; #ifndef _DEBUG // debug version in twoPaneView.cpp inline CTwoPaneDoc* CTwoPaneView::GetDocument() { return (CTwoPaneDoc*)m_pDocument; } #endif ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_TWOPANEVIEW_H__51D76EDD_CC86_4466_8E6A_EBB2DB0D45DF__INCLUDED_)