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

TreeView控件

开发平台:

Visual C++

  1. // TreeMenuDemoView.h : interface of the CTreeMenuDemoView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_TREEMENUDEMOVIEW_H__96C46D90_E5C6_11D1_92D4_0080C882060B__INCLUDED_)
  5. #define AFX_TREEMENUDEMOVIEW_H__96C46D90_E5C6_11D1_92D4_0080C882060B__INCLUDED_
  6. #if _MSC_VER >= 1000
  7. #pragma once
  8. #endif // _MSC_VER >= 1000
  9. class CTreeMenuDemoView : public CView
  10. {
  11. protected: // create from serialization only
  12. CTreeMenuDemoView();
  13. DECLARE_DYNCREATE(CTreeMenuDemoView)
  14. // Attributes
  15. public:
  16. CTreeMenuDemoDoc* GetDocument();
  17. // Operations
  18. public:
  19. // Overrides
  20. // ClassWizard generated virtual function overrides
  21. //{{AFX_VIRTUAL(CTreeMenuDemoView)
  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 ~CTreeMenuDemoView();
  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(CTreeMenuDemoView)
  38. // NOTE - the ClassWizard will add and remove member functions here.
  39. //    DO NOT EDIT what you see in these blocks of generated code !
  40. //}}AFX_MSG
  41. DECLARE_MESSAGE_MAP()
  42. };
  43. #ifndef _DEBUG  // debug version in TreeMenuDemoView.cpp
  44. inline CTreeMenuDemoDoc* CTreeMenuDemoView::GetDocument()
  45.    { return (CTreeMenuDemoDoc*)m_pDocument; }
  46. #endif
  47. /////////////////////////////////////////////////////////////////////////////
  48. //{{AFX_INSERT_LOCATION}}
  49. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  50. #endif // !defined(AFX_TREEMENUDEMOVIEW_H__96C46D90_E5C6_11D1_92D4_0080C882060B__INCLUDED_)