BCGControlBar Pro for MFC

Detailed Description

The CBCGPWndHostVisualObject class implements a functionality of CWnd-derived objects hosted inside the Visual Container (CBCGPVisualContainer).

Currently, the product has built-in support for the following controls:

Please perform the following steps to implement your own Visual Object which hosts a Windows control:

If your Visual Container was designed with a help of Visual Designer application, please add "Custom Window" object. Read CBCGPVisualContainer::OnCreateCustomControl method description for more information.

See also
CBCGPBaseVisualObject, CBCGPVisualContainer::OnCreateCustomControl
+ Inheritance diagram for CBCGPWndHostVisualObject:

Public Member Functions

 CreateWndCalled by the framework to create a window.
 GetColorThemeGets color theme.
 GetTextFormatGets text format.
 SetColorThemeSets color theme.
 SetTextFormatSets text format.
- 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.
 SetAutoDestroySpecifies whether the object should be destroyed automatically.
 SetDataAnimationTypeSets data animation type.
 SetEditFlagsSets editing flags.
 SetIDSets the object identifier.
 SetNameSets an object name.
 SetRectSets a new bounding rectangle.
 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.