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

Constructor.

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