BCGControlBar Pro for MFC
virtual void CBCGPButton::OnDrawBorder ( CDC *  pDC,
CRect &  rectClient,
UINT  uiState 

Called by the framework when the button's border should be redrawn

Override this member function to implement a custom border drawing.

pDCA pointer to a device context
rectClientA reference to the rectangle that describes the button's client area
uiStatea current button state

Reimplemented in CBCGPColorButton.