BCGControlBar Pro for MFC
virtual void CBCGPVisualManager::OnDrawRibbonSliderZoomButton ( CDC *  pDC,
CBCGPRibbonSlider pSlider,
CRect  rect,
BOOL  bIsZoomOut,
BOOL  bIsHighlighted,
BOOL  bIsPressed,
BOOL  bIsDisabled 
)
virtual

Draws ribbon slider zoom buttons.

Called by the framework to draw "zoom" buttons located at the right and left sides of slider control. The buttons are displayed as a circle with "+" or "-" signs inside.

Override this method in a derived class to customize appearance of "zoom" buttons.

Parameters
pDCA pointer to a device context.
pSliderA pointer to slider whose button is about to be drawn.
rectSpecifies bounding rectangle of "zoom" button.
bIsZoomOutIf TRUE, the button is the right button with sign "+" (zoom out), otherwise the button is left, with sign "-" (zoom in).
bIsHighlightedIf TRUE, the button has highlighted state.
bIsPressedIf TRUE, the button has pressed state.
bIsDisabledIf TRUE, the button is disabled.