BCGControlBar Pro for MFC

Detailed Description

The CBCGPTreeMap class implements the functionality of tree map control.

Tree map is a space-constrained visualization of hierarchical structures. It shows attributes of leaf nodes using size and colors.

To fill a tree map content create a set of CBCGPTreeMapGroup objects, fill each group with CBCGPTreeMapNode objects using CBCGPTreeMapGroup::AddSubNode, then call CBCGPTreeMap::AddGroup with each group.

See TreeMapDemo sample for more info.

+ Inheritance diagram for CBCGPTreeMap:

Public Types

enum  LayoutType

Public Member Functions

 AddGroupAdds a new group to tree map.
 GetFillBrushReturns tree map fill brush.
 GetGroupMarginReturns default group margin.
 GetLayoutTypeReturns current layout type.
 GetRootGroupReturns a pointer to root group.
 OnDrawCalled to draw tree map.
 OnGetToolTipCalled to obtain a tooltip.
 RemoveAllRemoves all groups from tree map.
 SetFillBrushSets new fill brush.
 SetGroupMarginSets group margin.
 SetLayoutTypeSets layout type of tree map.
 SetRectSets new rect of tree map control.
- Public Member Functions inherited from CBCGPBaseVisualObject
 CBCGPBaseVisualObjectCopy constructor.
 CopyToClipboardCopies visual object to the Clipboard.
 EnableImageCacheEnables or disables visual object image cache.
 ExportToBitmapExports the visual object to bitmap.
 ExportToFileExports the visual object to a file (BMP or PNG).
 ExportToImageExports the visual object to an image.
 GetDataGets an internal data object.
 GetDataAnimationTypeGets data animation type.
 GetDataCountReturns a number of data objects.
 GetEditFlagsGets editing flags.
 GetIDGets the object identifier.
 GetNameGets the object name.
 GetParentContainerGets the parent visual container.
 GetRectGets the object bounding rectangle.
 GetSelectedThemeObtain a currently selected visual theme.
 GetUserDataGets user-defined data associated with this object.
 GetValueGets the object value.
 IsAutoDestroyTells whether this object will be destroyed automatically.
 IsEditModeTells whether this object has the edit mode.
 IsEnabledTells whether the visual object is enabled.
 IsImageCacheTells whether image cache is enabled for this object.
 IsSelectedTells whether this object is selected in the parent container.
 IsVisibleTells whether the visual object is visible.
 RedrawRedraws this object.
 RedrawRectRedraws a specified rectangle.
 SelectVisualThemeSelect a visual theme created in Visual Designer.
 SetAutoDestroySpecifies whether the object should be destroyed automatically.
 SetDataAnimationTypeSets data animation type.
 SetDirtyInvalidates and redraws a visual object.
 SetEditFlagsSets editing flags.
 SetIDSets the object identifier.
 SetNameSets an object name.
 SetSelectedSelects or unselects the object in the parent container.
 SetUserDataSets user-defined data associated with this object.
 SetValueSets the object value.
 SetVisibleShows or hides the visual object.