BCGControlBar Pro for MFC

Detailed Description

The CBCGPChartCtrl class implements a Windows control that encapsulates a Chart visual object, which covers the control's client area. You can use this control to quickly place a Chart on a dialog, on a docking control bar etc.

To take advantage of CBCGPChartCtrl perform the following steps:

// Declare a member variable of CBCGPChartCtrl type:
CBCGPChartCtrl m_wndChart;
// Call CBCGPBaseVisualCtrl::Create (CBCGPBaseVisualCtrl is the base class):
m_wndChart.Create(rect, pParentWnd, nID);
// If you need to implement a custom Chart visual object call:
// Setup and use the Chart visual object with the GetChart accessor:
CBCGPChartVisualObject* pChart = m_wndChart.GetChart();
+ Inheritance diagram for CBCGPChartCtrl:

Public Member Functions

 CreateCustomChartCreates custom Chart visual object.
 GetChartReturns a pointer to underlined Chart visual object.
- Public Member Functions inherited from CBCGPBaseVisualCtrl
 CreateCreates a Windows control.
 CreatePopupCreates a popup window
 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.