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

Called by the framework to render an image of the button.

You can override this function to customize the rendering process.

Parameters
pDCPoints to the device context used to render an image of the button.
rectSpecifies the button's area.
uiStateSpecifies the visual state of the button.

Reimplemented from CBCGPButton.