BCGControlBar Pro for MFC
CBCGPRibbonColorButton::CBCGPRibbonColorButton ( UINT  nID,
LPCTSTR  lpszText,
int  nSmallImageIndex,
COLORREF  color = RGB(0, 0, 0) 
)

Constructor.

Parameters
nIDButton's command ID.
lpszTextSpecifies button's text label.
nSmallImageIndexZero-based index of button's small image in the parent category's image list.
colorThe RGB value of the currently selected color.