BCGControlBar Pro for MFC
virtual void CBCGPColorButton::UpdateColor ( COLORREF  color)

Called by the framework when the users selects a color from the color bar's palette.

This function is called when the user has selected a color on the color bar which was displayed by the color button.

The UpdateColor function changes the currently selected and displayed button's color and notifies its parent by sending WM_COMMAND message with BN_CLICKED standard notification. You can use GetColor() later to determine the selected color.

colorA color selected by the user.