Tree Control 控件的使用Dlg.h
上传用户:by888888
上传日期:2019-03-04
资源大小:1854k
文件大小:2k
源码类别:
TreeView控件
开发平台:
Visual C++
- // Tree Control 控件的使用Dlg.h : header file
- //
- #if !defined(AFX_TREECONTROLDLG_H__0100A76D_F828_41C5_998D_C4DEF832EABC__INCLUDED_)
- #define AFX_TREECONTROLDLG_H__0100A76D_F828_41C5_998D_C4DEF832EABC__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- /////////////////////////////////////////////////////////////////////////////
- // CTreeControlDlg dialog
- class CTreeControlDlg : public CDialog
- {
- // Construction
- public:
- CTreeControlDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CTreeControlDlg)
- enum { IDD = IDD_TREECONTROL_DIALOG };
- // NOTE: the ClassWizard will add data members here
- //}}AFX_DATA
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CTreeControlDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- HICON m_hIcon;
- CImageList m_list;
- // Generated message map functions
- //{{AFX_MSG(CTreeControlDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- virtual void OnOK();
- virtual void OnCancel();
- afx_msg void OnSelchangedTree1(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnEndlabeleditTree1(NMHDR* pNMHDR, LRESULT* pResult);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_TREECONTROLDLG_H__0100A76D_F828_41C5_998D_C4DEF832EABC__INCLUDED_)