// browseView.h : interface of the CbrowseView class // #pragma once class CbrowseView : public CEditView { protected: // create from serialization only CbrowseView(); DECLARE_DYNCREATE(CbrowseView) // Attributes public: CbrowseDoc* GetDocument() const; // Operations public: // Overrides public: virtual BOOL PreCreateWindow(CREATESTRUCT& cs); protected: // Implementation public: virtual ~CbrowseView(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Generated message map functions protected: DECLARE_MESSAGE_MAP() }; #ifndef _DEBUG // debug version in browseView.cpp inline CbrowseDoc* CbrowseView::GetDocument() const { return reinterpret_cast(m_pDocument); } #endif