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

ListView/ListBox

开发平台:

Visual C++

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