|
// ShowWindowTreeDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CShowWindowTreeDlg dialog
class CShowWindowTreeDlg : public CDialog
{
// Construction
public:
CShowWindowTreeDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CShowWindowTreeDlg)
enum { IDD = IDD_SHOWWINDOWTREE_DIALOG };
CEdit m_BuildFrom;
CTreeCtrl m_Tree;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CShowWindowTreeDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
CImageList MyList;
BOOL m_ValidHwnds;
void ScanWindow(HWND Start,HTREEITEM CurrentNode);
void SaveBranch(HTREEITEM h,CFile& f,CTreeCtrl& m_Tree);
void LoadBranch(HTREEITEM h,CFile& f,CTreeCtrl& m_Tree);
// Generated message map functions
//{{AFX_MSG(CShowWindowTreeDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnScan();
afx_msg void OnSaveit();
afx_msg void OnLoad();
afx_msg void OnRclickTree(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
afx_msg void OnTreeMenu(UINT nID);
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnSize(UINT nType, int cx, int cy);
};
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here