BCGControlBar Pro for MFC

Detailed Description

The CBCGPVisualContainerCtrl class implements the functionality of a CStatic control with embedded CBCGPVisualContainer.

Perform the following steps to add CBCGPVisualContainerCtrl to your dialog, property page or form view:

  1. Add an empty Picture control (place holder) to the Dialog Editor.
  2. Map this control to the new CStatic member variable.
  3. Replace CStatic with CBCGPDiagramVisualContainerCtrl in .H file.

Call GetVisualContainer() method to access CBCGPVisualContainer.

See also
+ Inheritance diagram for CBCGPVisualContainerCtrl:

Public Member Functions

 GetVisualContainerGets a pointer to embedded visual container.
- Public Member Functions inherited from CBCGPBaseVisualCtrl
 CreateCreates a Windows control.
 CreatePopupCreates a popup window
 DoPrintImplements printing support for encapsulated visual object.
 EnableInfoTipEnables the information tip associated with this control.
 EnableTooltipEnables tooltips
 GetGraphicsManagerGets graphics manager associated with control.
 GetPrintOptionsGets control printing options.
 IsInfoTipEnabledTells whether the information tip is enabled.
 IsTooltipEnabledTells whether the visual control tooltip support is enabled.
 SetPrintOptionsSets control printing options.

Additional Inherited Members

- Static Public Member Functions inherited from CBCGPBaseVisualCtrl
 CloseActivePopupCloses active popup (created by CBCGPBaseVisualCtrl::CreatePopup) visual control.
 HasActivePopupTells whether a popup (created by CBCGPBaseVisualCtrl::CreatePopup) visual control is active.
- Protected Member Functions inherited from CBCGPGestureBase
 OnGestureEventBeginCalled by the framework to handle BCGP_GID_BEGIN notification.
 OnGestureEventEndCalled by the framework to handle BCGP_GID_END notification.
 ProcessGestureEventThis method should be called from WM_GESTURE message handler.