PtreeView.h
资源名称:ictprop.rar [点击查看]
上传用户:tenhai
上传日期:2021-02-19
资源大小:492k
文件大小:2k
源码类别:
组合框控件
开发平台:
Visual C++
- #if !defined(AFX_PTREEVIEW_H__2DF0DDEE_42FC_4905_B4B8_EB4594A14188__INCLUDED_)
- #define AFX_PTREEVIEW_H__2DF0DDEE_42FC_4905_B4B8_EB4594A14188__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // PtreeView.h : header file
- //
- #include <afxcview.h>
- /////////////////////////////////////////////////////////////////////////////
- // CPtreeView view
- class CPtreeView : public CTreeView
- {
- protected:
- CPtreeView(); // protected constructor used by dynamic creation
- DECLARE_DYNCREATE(CPtreeView)
- // Attributes
- public:
- void UpdateTree(int id, CString str);
- void countrules(HTREEITEM hLHS);
- // Operations
- public:
- CTreeCtrl* pCtrl;
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CPtreeView)
- public:
- virtual void OnInitialUpdate();
- protected:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- virtual ~CPtreeView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- // Generated message map functions
- protected:
- //{{AFX_MSG(CPtreeView)
- // NOTE - the ClassWizard will add and remove member functions here.
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_PTREEVIEW_H__2DF0DDEE_42FC_4905_B4B8_EB4594A14188__INCLUDED_)