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

ListView/ListBox

开发平台:

Visual C++

  1. #if !defined(AFX_MYLISTVIEW_H__6AB8B076_0F98_11D2_8560_00A024068C2F__INCLUDED_)
  2. #define AFX_MYLISTVIEW_H__6AB8B076_0F98_11D2_8560_00A024068C2F__INCLUDED_
  3. #if _MSC_VER >= 1000
  4. #pragma once
  5. #endif // _MSC_VER >= 1000
  6. // MyListView.h : header file
  7. //
  8. #include "MultiColumnSortListView.h"
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CMyListView view
  11. class CMyListView : public CMultiColumnSortListView
  12. {
  13. protected:
  14. CMyListView();           // protected constructor used by dynamic creation
  15. DECLARE_DYNCREATE(CMyListView)
  16. // Attributes
  17. public:
  18. // Operations
  19. public:
  20. // Overrides
  21. // ClassWizard generated virtual function overrides
  22. //{{AFX_VIRTUAL(CMyListView)
  23. public:
  24. virtual void OnInitialUpdate();
  25. protected:
  26. virtual void OnDraw(CDC* pDC);      // overridden to draw this view
  27. //}}AFX_VIRTUAL
  28. // Implementation
  29. protected:
  30. virtual ~CMyListView();
  31. #ifdef _DEBUG
  32. virtual void AssertValid() const;
  33. virtual void Dump(CDumpContext& dc) const;
  34. #endif
  35. // Generated message map functions
  36. protected:
  37. //{{AFX_MSG(CMyListView)
  38. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  39. //}}AFX_MSG
  40. DECLARE_MESSAGE_MAP()
  41. };
  42. /////////////////////////////////////////////////////////////////////////////
  43. //{{AFX_INSERT_LOCATION}}
  44. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  45. #endif // !defined(AFX_MYLISTVIEW_H__6AB8B076_0F98_11D2_8560_00A024068C2F__INCLUDED_)