TREEVIEWCLASS.H
资源名称:shell_8.zip [点击查看]
上传用户:gzfeiyu199
上传日期:2021-09-15
资源大小:68k
文件大小:2k
源码类别:
编辑框
开发平台:
Visual C++
- #if !defined(AFX_TREEVIEWCLASS_H__C73CC5D6_5B91_11D2_AB9F_441100C10000__INCLUDED_)
- #define AFX_TREEVIEWCLASS_H__C73CC5D6_5B91_11D2_AB9F_441100C10000__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // TreeViewClass.h : header file
- //
- #include <afxcview.h>
- /////////////////////////////////////////////////////////////////////////////
- // CTreeViewClass view
- class CTreeViewClass : public CTreeView
- {
- protected:
- CTreeViewClass(); // protected constructor used by dynamic creation
- DECLARE_DYNCREATE(CTreeViewClass)
- // Attributes
- public:
- CTreeCtrl* m_TreeCtrl;
- CImageList m_ImageList;
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CTreeViewClass)
- protected:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- virtual ~CTreeViewClass();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- // Generated message map functions
- protected:
- //{{AFX_MSG(CTreeViewClass)
- afx_msg void OnItemexpanding(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnSelchanged(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_TREEVIEWCLASS_H__C73CC5D6_5B91_11D2_AB9F_441100C10000__INCLUDED_)