// LeftView.h : interface of the CLeftView class // #pragma once class CEx29bDoc; class CLeftView : public CListView { protected: // create from serialization only CLeftView(); DECLARE_DYNCREATE(CLeftView) // Attributes public: CEx29bDoc* GetDocument(); // Operations public: // Overrides public: virtual BOOL PreCreateWindow(CREATESTRUCT& cs); protected: virtual void OnInitialUpdate(); // called first time after construct // Implementation public: virtual ~CLeftView(); #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 LeftView.cpp inline CEx29bDoc* CLeftView::GetDocument() { return reinterpret_cast(m_pDocument); } #endif