GME
13
|
#include <AggregateTreeCtrl.h>
Public Member Functions | |
BOOL | IsLibrary (LPUNKNOWN pUnknown, bool *p_ptrIsDependent=0) |
void | SetItemProperties (HTREEITEM hItem, int p_fileLatentState=0, CAggregateMgaObjectProxy *insertedProxy=nullptr) |
void | GetCustomTreeIcon (IMgaObject *ccpMgaObject, TVITEM &tvItem) |
BOOL | DoDrop (eDragOperation doDragOp, COleDataObject *pDataObject, CPoint point) |
BOOL | DoDropWithoutChecking (eDragOperation doDragOp, COleDataObject *pDataObject, CPoint point) |
void | MakeSureGUIDIsUniqueForSmartCopy (CComPtr< IMgaFCO > &fco) |
BOOL | IsRelevantDropTarget (CPoint point, CImageList *) |
void | RestoreState () |
void | StoreState () |
void | MaintainRegistry () |
void | SortItems (HTREEITEM hItem=NULL) |
void | SaveTreeStateToRegistry (CString &) |
void | LoadTreeStateFromRegistry (CString &) |
void | LoadItemStateFromRegistry (CString &strProjectName, HTREEITEM hItem) |
HTREEITEM | InsertItem (HTREEITEM hParent, CString strObjectName, LPUNKNOWN pUnknown, objtype_enum otObjectType, bool update=false) |
HTREEITEM | InsertItemUpdate (HTREEITEM hParent, CString strObjectName, LPUNKNOWN pUnknown, objtype_enum otObjectType) |
CAggregateTreeCtrl () | |
virtual | ~CAggregateTreeCtrl () |
Static Public Member Functions | |
static bool | IsUngroupedLibrary (CComPtr< IMgaFolder > ptr) |
static int CALLBACK | ItemCompareProc (LPARAM lParamItem1, LPARAM lParamItem2, LPARAM lParamSort) |
Public Attributes | |
std::map< _bstr_t, int > | treeIcons |
std::unordered_map< CComBSTR, int, CComBSTR_hashfunc > | m_highlightedObjects |
Friends | |
class | CAggregatePropertyPage |
class | CAggregateContextMenu |
Definition at line 41 of file AggregateTreeCtrl.h.
Definition at line 26 of file AggregateTreeCtrl.cpp.
CAggregateTreeCtrl::~CAggregateTreeCtrl | ( | ) | [virtual] |
Definition at line 33 of file AggregateTreeCtrl.cpp.
BOOL CAggregateTreeCtrl::DoDrop | ( | eDragOperation | doDragOp, |
COleDataObject * | pDataObject, | ||
CPoint | point | ||
) | [virtual] |
Reimplemented from CMgaMappedTreeCtrlBase.
Definition at line 681 of file AggregateTreeCtrl.cpp.
BOOL CAggregateTreeCtrl::DoDropWithoutChecking | ( | eDragOperation | doDragOp, |
COleDataObject * | pDataObject, | ||
CPoint | point | ||
) |
Definition at line 1142 of file AggregateTreeCtrl.cpp.
void CAggregateTreeCtrl::GetCustomTreeIcon | ( | IMgaObject * | ccpMgaObject, |
TVITEM & | tvItem | ||
) |
Definition at line 1192 of file AggregateTreeCtrl.cpp.
HTREEITEM CAggregateTreeCtrl::InsertItem | ( | HTREEITEM | hParent, |
CString | strObjectName, | ||
LPUNKNOWN | pUnknown, | ||
objtype_enum | otObjectType, | ||
bool | update = false |
||
) |
Definition at line 38 of file AggregateTreeCtrl.cpp.
HTREEITEM CAggregateTreeCtrl::InsertItemUpdate | ( | HTREEITEM | hParent, |
CString | strObjectName, | ||
LPUNKNOWN | pUnknown, | ||
objtype_enum | otObjectType | ||
) |
Definition at line 151 of file AggregateTreeCtrl.cpp.
BOOL CAggregateTreeCtrl::IsLibrary | ( | LPUNKNOWN | pUnknown, |
bool * | p_ptrIsDependent = 0 |
||
) |
Definition at line 1391 of file AggregateTreeCtrl.cpp.
BOOL CAggregateTreeCtrl::IsRelevantDropTarget | ( | CPoint | point, |
CImageList * | pDragImageList | ||
) | [virtual] |
Reimplemented from CMgaMappedTreeCtrlBase.
Definition at line 662 of file AggregateTreeCtrl.cpp.
bool CAggregateTreeCtrl::IsUngroupedLibrary | ( | CComPtr< IMgaFolder > | ptr | ) | [static] |
Definition at line 1424 of file AggregateTreeCtrl.cpp.
int CAggregateTreeCtrl::ItemCompareProc | ( | LPARAM | lParamItem1, |
LPARAM | lParamItem2, | ||
LPARAM | lParamSort | ||
) | [static] |
Definition at line 489 of file AggregateTreeCtrl.cpp.
void CAggregateTreeCtrl::LoadItemStateFromRegistry | ( | CString & | strProjectName, |
HTREEITEM | hItem | ||
) |
Definition at line 209 of file AggregateTreeCtrl.cpp.
void CAggregateTreeCtrl::LoadTreeStateFromRegistry | ( | CString & | strProjectName | ) |
Definition at line 237 of file AggregateTreeCtrl.cpp.
void CAggregateTreeCtrl::MaintainRegistry | ( | ) |
Definition at line 157 of file AggregateTreeCtrl.cpp.
void CAggregateTreeCtrl::MakeSureGUIDIsUniqueForSmartCopy | ( | CComPtr< IMgaFCO > & | fco | ) |
Definition at line 633 of file AggregateTreeCtrl.cpp.
void CAggregateTreeCtrl::RestoreState | ( | ) |
Definition at line 424 of file AggregateTreeCtrl.cpp.
void CAggregateTreeCtrl::SaveTreeStateToRegistry | ( | CString & | strProjectName | ) |
Definition at line 301 of file AggregateTreeCtrl.cpp.
void CAggregateTreeCtrl::SetItemProperties | ( | HTREEITEM | hItem, |
int | p_fileLatentState = 0 , |
||
CAggregateMgaObjectProxy * | insertedProxy = nullptr |
||
) |
Definition at line 1267 of file AggregateTreeCtrl.cpp.
void CAggregateTreeCtrl::SortItems | ( | HTREEITEM | hItem = NULL | ) |
Definition at line 585 of file AggregateTreeCtrl.cpp.
void CAggregateTreeCtrl::StoreState | ( | ) |
Definition at line 361 of file AggregateTreeCtrl.cpp.
friend class CAggregateContextMenu [friend] |
Definition at line 44 of file AggregateTreeCtrl.h.
friend class CAggregatePropertyPage [friend] |
Definition at line 43 of file AggregateTreeCtrl.h.
std::unordered_map<CComBSTR, int, CComBSTR_hashfunc> CAggregateTreeCtrl::m_highlightedObjects |
Definition at line 56 of file AggregateTreeCtrl.h.
std::map<_bstr_t, int> CAggregateTreeCtrl::treeIcons |
Definition at line 55 of file AggregateTreeCtrl.h.