WindowsTreeCtrl.h
上传用户:louyoung
上传日期:2007-01-02
资源大小:123k
文件大小:1k
源码类别:
ActiveX/DCOM/ATL
开发平台:
Visual C++
- #if !defined(AFX_WINDOWSTREECTRL_H__79B50233_4C77_11D2_8690_0040055C08D9__INCLUDED_)
- #define AFX_WINDOWSTREECTRL_H__79B50233_4C77_11D2_8690_0040055C08D9__INCLUDED_
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- // WindowsTreeCtrl.h : header file
- //
- class CWindowsTreeCtrl : public CTreeCtrl
- {
- // Construction
- public:
- CWindowsTreeCtrl();
- // Attributes
- public:
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CWindowsTreeCtrl)
- //}}AFX_VIRTUAL
- // Implementation
- public:
- static CString GetItemName(HWND hWnd);
- virtual void Enum();
- virtual ~CWindowsTreeCtrl();
- // Generated message map functions
- protected:
- virtual void AddAllChilds(HTREEITEM hRoot);
- virtual void NewBranch(HWND hWnd);
- static BOOL CALLBACK EnumWindowProc(HWND hWnd, LPARAM lParam);
- //{{AFX_MSG(CWindowsTreeCtrl)
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_WINDOWSTREECTRL_H__79B50233_4C77_11D2_8690_0040055C08D9__INCLUDED_)