#if !defined(AFX_MYTREECTRL_H__9D2D4316_7FBD_11D6_8274_00105A07EA1C__INCLUDED_) #define AFX_MYTREECTRL_H__9D2D4316_7FBD_11D6_8274_00105A07EA1C__INCLUDED_ #include "MyListCtrl.h" // Added by ClassView #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // MyTreeCtrl.h : header file // ///////////////////////////////////////////////////////////////////////////// // CMyTreeCtrl window class CMyTreeCtrl : public CTreeCtrl { // Construction public: CMyTreeCtrl(); // Attributes public: // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CMyTreeCtrl) public: virtual BOOL CMyTreeCtrl::Create(DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID); //}}AFX_VIRTUAL // Implementation public: void UpdateListIndex(HTREEITEM hItem, int nIndex); CMyListCtrl *m_pMyListCtrl; pDICOMIOD m_pIODClass; LDicomDS * GetDS(HTREEITEM hItem); HTREEITEM GetRootOfItem(HTREEITEM hItem); void TraverseFreeTree(HTREEITEM hRoot) ; //CString GetValue(LDicomDS *pDS, pDICOMELEMENT pElement); L_VOID AddMWLItem(LDicomDS *pDS, int nCountDS); L_VOID DisplayCommandSet(LDicomDS *pDS, HTREEITEM hRoot, HTREEITEM hParentTree, pDICOMELEMENT pParentElement ); HTREEITEM InsertElement(HTREEITEM hParentTree, pDICOMELEMENT pElement, pDICOMIOD pDicomIOD, LDicomDS *pDS = NULL); HTREEITEM InsertItem (LPCTSTR lpszItem, HTREEITEM hParent, HTREEITEM hInsertAfter, LPCTSTR lpszValue,//=NULL, int nCount, pDICOMIOD pDicomIOD,// = NULL, pDICOMELEMENT pElement// = NULL ); BOOL DeleteAllItems(); virtual ~CMyTreeCtrl(); // Generated message map functions protected: //{{AFX_MSG(CMyTreeCtrl) afx_msg void OnDestroy(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_MYTREECTRL_H__9D2D4316_7FBD_11D6_8274_00105A07EA1C__INCLUDED_)