BCGControlBar Pro for MFC
CBCGPColorMenuButton::CBCGPColorMenuButton ( UINT  uiCmdID,
LPCTSTR  lpszText,
CPalette *  pPalette = NULL 
)

Constructs a CBCGPColorMenuButton object

Initializes the button's color according to the command ID.

Parameters
uiCmdIDThe new button's command ID
lpszTextSpecifies the button text
pPaletteSpecifies the button's color palette