BCGControlBar Pro for MFC
virtual void CBCGPButton::OnDraw ( CDC *  pDC,
const CRect &  rect,
UINT  uiState 
)
protectedvirtual

Called by the framework when the button should be redrawn

Override this member function when you want to implement your own drawing code. You should take into account the current button's state and text alignment.

Parameters
pDCA pointer to a device context
recta rectangle that should be redrawn
uiStatea current button state

Reimplemented in CBCGPColorButton.