GME
13
|
00001 // InheritanceTreeCtrl.h: interface for the CInheritanceTreeCtrl class. 00002 // 00004 00005 #if !defined(AFX_INHERITANCETREECTRL_H__BB1A14C1_4C16_4C3D_B83D_786F8AB9438E__INCLUDED_) 00006 #define AFX_INHERITANCETREECTRL_H__BB1A14C1_4C16_4C3D_B83D_786F8AB9438E__INCLUDED_ 00007 00008 #if _MSC_VER > 1000 00009 #pragma once 00010 #endif // _MSC_VER > 1000 00011 00012 #include "MgaMappedTreeCtrl.h" 00013 00014 class CInheritanceTreeCtrl : public CMgaMappedTreeCtrl<CMgaObjectProxy> 00015 { 00016 friend class CInheritancePropertyPage; 00017 public: 00018 CInheritanceTreeCtrl(); 00019 virtual ~CInheritanceTreeCtrl(); 00020 HTREEITEM InsertItem(HTREEITEM hParent, CString strObjectName, LPUNKNOWN pUnknown, objtype_enum otObjectType); 00021 00022 void SetItemProperties(HTREEITEM hItem); 00023 CMapStringToString m_StateBuffer; 00024 BOOL m_bIsStateStored; 00025 void RestoreState(); 00026 void StoreState(); 00027 00028 }; 00029 00030 #endif // !defined(AFX_INHERITANCETREECTRL_H__BB1A14C1_4C16_4C3D_B83D_786F8AB9438E__INCLUDED_)