ListViewDemoView.h
上传用户:ayqaqa
上传日期:2007-01-02
资源大小:37k
文件大小:2k
源码类别:

ListView/ListBox

开发平台:

Visual C++

  1. // ListViewDemoView.h : interface of the CListViewDemoView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_LISTVIEWDEMOVIEW_H__6AB8B06D_0F98_11D2_8560_00A024068C2F__INCLUDED_)
  5. #define AFX_LISTVIEWDEMOVIEW_H__6AB8B06D_0F98_11D2_8560_00A024068C2F__INCLUDED_
  6. #if _MSC_VER >= 1000
  7. #pragma once
  8. #endif // _MSC_VER >= 1000
  9. class CListViewDemoView : public CView
  10. {
  11. protected: // create from serialization only
  12. CListViewDemoView();
  13. DECLARE_DYNCREATE(CListViewDemoView)
  14. // Attributes
  15. public:
  16. CListViewDemoDoc* GetDocument();
  17. // Operations
  18. public:
  19. // Overrides
  20. // ClassWizard generated virtual function overrides
  21. //{{AFX_VIRTUAL(CListViewDemoView)
  22. public:
  23. virtual void OnDraw(CDC* pDC);  // overridden to draw this view
  24. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  25. protected:
  26. virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
  27. virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
  28. virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
  29. //}}AFX_VIRTUAL
  30. // Implementation
  31. public:
  32. virtual ~CListViewDemoView();
  33. #ifdef _DEBUG
  34. virtual void AssertValid() const;
  35. virtual void Dump(CDumpContext& dc) const;
  36. #endif
  37. protected:
  38. // Generated message map functions
  39. protected:
  40. //{{AFX_MSG(CListViewDemoView)
  41. //}}AFX_MSG
  42. DECLARE_MESSAGE_MAP()
  43. };
  44. #ifndef _DEBUG  // debug version in ListViewDemoView.cpp
  45. inline CListViewDemoDoc* CListViewDemoView::GetDocument()
  46.    { return (CListViewDemoDoc*)m_pDocument; }
  47. #endif
  48. /////////////////////////////////////////////////////////////////////////////
  49. //{{AFX_INSERT_LOCATION}}
  50. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  51. #endif // !defined(AFX_LISTVIEWDEMOVIEW_H__6AB8B06D_0F98_11D2_8560_00A024068C2F__INCLUDED_)