www.pudn.com > Property_List_src.zip > myPropertyListDlg.h
// myPropertyListDlg.h : header file
//
#if !defined(AFX_MYPROPERTYLISTDLG_H__23920D3C_A3ED_4AA3_A0E8_6676E351341E__INCLUDED_)
#define AFX_MYPROPERTYLISTDLG_H__23920D3C_A3ED_4AA3_A0E8_6676E351341E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "PropertyList.h"
/////////////////////////////////////////////////////////////////////////////
// CMyPropertyListDlg dialog
class CMyPropertyListDlg : public CDialog
{
// Construction
public:
CMyPropertyListDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CMyPropertyListDlg)
enum { IDD = IDD_MYPROPERTYLIST_DIALOG };
CTreeCtrl m_tree;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyPropertyListDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CMyPropertyListDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
virtual void OnOK();
afx_msg void OnButtonAdd();
afx_msg void OnButtonDeleteall();
afx_msg void OnSelchangedTree1(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
friend void pfnOnSelChangedPropertyList(const CPropertyItem* pItem);
CPropertyList m_propList;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MYPROPERTYLISTDLG_H__23920D3C_A3ED_4AA3_A0E8_6676E351341E__INCLUDED_)