BCGControlBar Pro for MFC
virtual void CBCGPBaseVisualObject::OnDraw ( CBCGPGraphicsManager pGM,
const CBCGPRect rectClip,
DWORD  dwFlags = BCGP_DRAW_STATIC|BCGP_DRAW_DYNAMIC 
)
pure virtual

Called by the framework to draw a visual object

Parameters
pGMa pointer to a graphics manager
rectClipclipping rectangle
dwFlagsspecifies whether the object is drawn as static or dynamic object

dwFlags can be one or combination of the following values:

  • BCGP_DRAW_STATIC - visual object should render static elements
  • BCGP_DRAW_DYNAMIC - a visual object should render dynamic elements

Implemented in CBCGPChartVisualObject, CBCGPChartLegendVisualObject, CBCGPTreeMap, and CBCGPDiagramShape.