BCGSuite for MFC
virtual BOOL CBCGPVisualManager::OnEraseToolBoxButton ( CDC *  pDC,
CRect  rect,
CBCGPToolBoxButton pButton 
)
virtual

Called by the framework when the background of a toolbox button is erased.

Returns
Should return TRUE if the background has been drawn by Visual Manager.

This function is called by the framework when the background of a toolbox button is erased. Override it and return TRUE if your Visual Manager fills the background of the specified toolbox button.

Parameters
pDCA pointer to a device context.
rectBounding rectangle of toolbox button.
pButtonA pointer to a toolbox button whose background is about to be erased.