GME  13
Public Member Functions | Static Public Member Functions | Public Attributes | Friends
CAggregateTreeCtrl Class Reference

#include <AggregateTreeCtrl.h>

Inheritance diagram for CAggregateTreeCtrl:
Inheritance graph
[legend]
Collaboration diagram for CAggregateTreeCtrl:
Collaboration graph
[legend]

List of all members.

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, inttreeIcons
std::unordered_map< CComBSTR,
int, CComBSTR_hashfunc
m_highlightedObjects

Friends

class CAggregatePropertyPage
class CAggregateContextMenu

Detailed Description

Definition at line 41 of file AggregateTreeCtrl.h.


Constructor & Destructor Documentation

Definition at line 26 of file AggregateTreeCtrl.cpp.

Definition at line 33 of file AggregateTreeCtrl.cpp.


Member Function Documentation

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.

Definition at line 157 of file AggregateTreeCtrl.cpp.

Definition at line 633 of file AggregateTreeCtrl.cpp.

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.

Definition at line 361 of file AggregateTreeCtrl.cpp.


Friends And Related Function Documentation

friend class CAggregateContextMenu [friend]

Definition at line 44 of file AggregateTreeCtrl.h.

friend class CAggregatePropertyPage [friend]

Definition at line 43 of file AggregateTreeCtrl.h.


Member Data Documentation

Definition at line 56 of file AggregateTreeCtrl.h.

std::map<_bstr_t, int> CAggregateTreeCtrl::treeIcons

Definition at line 55 of file AggregateTreeCtrl.h.


The documentation for this class was generated from the following files: