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

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

Override this function to customize the color button's border appearance.

pDCPoints to the device context used to draw the border.
rectClientA rectangle in the device context specified by the pDC that defines the boundaries of the button to be drawn.
uiStateSpecifies the visual state of the button.

Reimplemented from CBCGPButton.