BCGSuite for MFC
virtual BOOL CBCGPVisualManager::OnDrawToolBoxButtonBorder ( CDC *  pDC,
CRect &  rect,
CBCGPToolBoxButton pButton,
UINT  uiState 
)
virtual

Called by the framework when the border of a toolbox button is about to be drawn.

Returns
Should return TRUE when the border is drawn by the Visual Manager. Should return FALSE when the border has to be drawn by default processing.

This function is called by the framework when the border of a toolbox button is about to be drawn. Override it in a derived class and return TRUE if your Visual Manager draws the border.

Parameters
pDCA pointer to a device context.
rectBounding rectangle of a toolbox button whose border is about to be drawn.
pButtonA pointer to a toolbox button.
uiStateToolbox button state.