home *** CD-ROM | disk | FTP | other *** search
- // ListView.h : interface of the CMyListView class
- //
- /////////////////////////////////////////////////////////////////////////////
-
- class CMyListView : public CListView
- {
- protected: // create from serialization only
- CMyListView();
- DECLARE_DYNCREATE(CMyListView)
-
- // Attributes
- public:
- CListDoc* GetDocument();
-
- // Operations
- public:
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMyListView)
- public:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- protected:
- virtual void OnInitialUpdate(); // called first time after construct
- virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
- //}}AFX_VIRTUAL
-
- // Implementation
- public:
- virtual ~CMyListView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
-
- protected:
-
- // Generated message map functions
- protected:
- //{{AFX_MSG(CMyListView)
- // 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 ListView.cpp
- inline CListDoc* CMyListView::GetDocument()
- { return (CListDoc*)m_pDocument; }
- #endif
-
- /////////////////////////////////////////////////////////////////////////////
-