#if !defined(AFX_DATANODELIST_H__0B00D91E_9988_4634_A83E_D0A39B6F48ED__INCLUDED_) #define AFX_DATANODELIST_H__0B00D91E_9988_4634_A83E_D0A39B6F48ED__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // DataNodeList.h : header file // ///////////////////////////////////////////////////////////////////////////// // CDataNodeList window class EXPORT_CLASS CDataNodeList : public CListView { // Construction public: CDataNodeList(); // Attributes public: // 显示单个节点属性 void ShowProperties(CDataNodeBase *pNode); // 显示多个节点属性 void ShowProperties(CPtrList &ptrListNodes, BOOL bShowCommonOnly); // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CDataNodeList) //}}AFX_VIRTUAL // Implementation public: virtual ~CDataNodeList(); CImageListDyn m_imageList; CPtrList m_ptrListNodes; // Generated message map functions protected: //{{AFX_MSG(CDataNodeList) afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; class EXPORT_CLASS CDataNodeListCtrl : public CListCtrl { friend CDataNodeList; // Construction public: CDataNodeListCtrl(); CListCtrl& GetListCtrl(); // Attributes public: // 显示单个节点属性 void ShowProperties(CDataNodeBase *pNode); // 显示多个节点属性 void ShowProperties(CPtrList &ptrListNodes, BOOL bShowCommonOnly); // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CDataNodeList) //}}AFX_VIRTUAL // Implementation public: virtual ~CDataNodeListCtrl(); CImageListDyn m_imageList; CPtrList m_ptrListNodes; // Generated message map functions protected: static void CDataNodeListCtrl::InitList(CListCtrl &listCtrl, CImageListDyn &imageList); static void CDataNodeListCtrl::ShowPropertiesSt(CListCtrl &listCtrl, CImageListDyn &imageList, CDataNodeBase *pNode, CPtrList &ptrListNodesM); static void CDataNodeListCtrl::ShowPropertiesSt(CListCtrl &listCtrl, CImageListDyn &imageList, CPtrList &ptrListNodes, CPtrList &ptrListNodesM, BOOL bShowCommonOnly); //{{AFX_MSG(CDataNodeList) afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_DATANODELIST_H__0B00D91E_9988_4634_A83E_D0A39B6F48ED__INCLUDED_)