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

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.

Parameters
clrAn RGB value
bNotifyEnforces a CBCGPColorBar object notification