BCGControlBar Pro for MFC
static void CBCGPColorMenuButton::SetColorByCmdID ( UINT  uiCmdID,
COLORREF  color 
)
inlinestatic

Set a color of all color buttons with the same command ID

Parameters
uiCmdIDSpecifies the command ID.
colorAn RGB value.

Use this static member function when you have several color buttons in application.