BCGControlBar Pro for MFC
virtual void CBCGPColorMenuButton::SetColor ( COLORREF  clr,
BOOL  bNotify = TRUE 

Sets a new selected color

Call this member function to change a current color button's color. If bNotify is nonzero, than the current selected color is changed for the CBCGPColorBar object that pops up when the color button is pressed.

clrAn RGB value
bNotifyEnforces a CBCGPColorBar object notification