Tree Control 控件的使用Dlg.h
上传用户:by888888
上传日期:2019-03-04
资源大小:1854k
文件大小:2k
源码类别:

TreeView控件

开发平台:

Visual C++

  1. // Tree Control 控件的使用Dlg.h : header file
  2. //
  3. #if !defined(AFX_TREECONTROLDLG_H__0100A76D_F828_41C5_998D_C4DEF832EABC__INCLUDED_)
  4. #define AFX_TREECONTROLDLG_H__0100A76D_F828_41C5_998D_C4DEF832EABC__INCLUDED_
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif // _MSC_VER > 1000
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CTreeControlDlg dialog
  10. class CTreeControlDlg : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CTreeControlDlg(CWnd* pParent = NULL); // standard constructor
  15. // Dialog Data
  16. //{{AFX_DATA(CTreeControlDlg)
  17. enum { IDD = IDD_TREECONTROL_DIALOG };
  18. // NOTE: the ClassWizard will add data members here
  19. //}}AFX_DATA
  20. // ClassWizard generated virtual function overrides
  21. //{{AFX_VIRTUAL(CTreeControlDlg)
  22. protected:
  23. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  24. //}}AFX_VIRTUAL
  25. // Implementation
  26. protected:
  27. HICON m_hIcon;
  28.     CImageList m_list;
  29. // Generated message map functions
  30. //{{AFX_MSG(CTreeControlDlg)
  31. virtual BOOL OnInitDialog();
  32. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  33. afx_msg void OnPaint();
  34. afx_msg HCURSOR OnQueryDragIcon();
  35. virtual void OnOK();
  36. virtual void OnCancel();
  37. afx_msg void OnSelchangedTree1(NMHDR* pNMHDR, LRESULT* pResult);
  38. afx_msg void OnEndlabeleditTree1(NMHDR* pNMHDR, LRESULT* pResult);
  39. //}}AFX_MSG
  40. DECLARE_MESSAGE_MAP()
  41. };
  42. //{{AFX_INSERT_LOCATION}}
  43. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  44. #endif // !defined(AFX_TREECONTROLDLG_H__0100A76D_F828_41C5_998D_C4DEF832EABC__INCLUDED_)