TreeListCtrl.h
资源名称:propgrid.zip [点击查看]
上传用户:yangzi5763
上传日期:2007-01-02
资源大小:239k
文件大小:2k
源码类别:
ActiveX/DCOM/ATL
开发平台:
Visual C++
- /************************************
- REVISION LOG ENTRY
- Revision By: Mihai Filimon
- Revised on 12/6/98 11:44:47
- Comments: TreeListCtrl.h : header file
- ************************************/
- #if !defined(AFX_TREELISTCTRL_H__1443D951_8CF6_11D2_8540_FFEB82F3240B__INCLUDED_)
- #define AFX_TREELISTCTRL_H__1443D951_8CF6_11D2_8540_FFEB82F3240B__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- /////////////////////////////////////////////////////////////////////////////
- // CTreeListCtrl window
- #include <afxcmn.h>
- class CControlsWnd_CGroup;
- class CTreeListCtrl : public CListCtrl
- {
- // Construction
- public:
- CTreeListCtrl();
- // Attributes
- public:
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CTreeListCtrl)
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual CString GetGroup(int nItem);
- virtual DWORD GetUserData(int nItem);
- virtual CString GetValue(int nItem);
- virtual CString GetName(int nItem);
- virtual void SetValue(int nItem, LPCTSTR lpszValue);
- virtual void UpdateGroup(CControlsWnd_CGroup* pGroup, LPCTSTR lpszGroupName);
- virtual int OnInsertItemVrt(int nItem, LPCTSTR lpszItemName, LPARAM lParam, LPCTSTR lpszGroup);
- virtual BOOL Init(CListCtrl* pParent);
- virtual ~CTreeListCtrl();
- // Generated message map functions
- protected:
- int m_nColumnName;
- int m_nColumnValue;
- int m_nColumnGroup;
- //{{AFX_MSG(CTreeListCtrl)
- // 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_TREELISTCTRL_H__1443D951_8CF6_11D2_8540_FFEB82F3240B__INCLUDED_)