BCGControlBar Pro for MFC
virtual void CBCGPVisualManager::OnDrawButtonBorder ( CDC *  pDC,
CBCGPToolbarButton pButton,
CRect  rect,
CBCGPVisualManager::BCGBUTTON_STATE  state 
)
virtual

Called by the framework to display the border of a toolbar button.

The default implementation displays the standard border. Override this member function in your CBCGPVisualManager - derived class to customize the border appearance.

The state of a toolbar button can be one of the following BCGBUTTON_STATE enumerated values:

  • ButtonsIsRegular - default state
  • ButtonsIsPressed - button is pressed
  • ButtonsIsHighlighted - button is highlighted
Parameters
pDCA pointer to a toolbar button's device context.
pButtonPoints to a toolbar button whose border is drawn.
rectSpecifies the bounding rectangle of a toolbar button.
stateSpecifies the current state of a toolbar button.