BCGControlBar Pro for MFC
CBCGPRibbonPaletteButton::CBCGPRibbonPaletteButton ( UINT  nID,
LPCTSTR  lpszText,
int  nSmallImageIndex,
int  nLargeImageIndex,
CBCGPToolBarImages imagesPalette,
CBCGPToolBarImages pImagesPaletteSimplified = NULL,
RibbonSimplifiedModeType  type = RibbonSimplifiedOnScreenCompact,
BOOL  bHideInFullMode = FALSE 
)

Constructs a ribbon palette button (gallery) object.

Parameters
nIDSpecifies the button command ID.
lpszTextSpecifies the button text.
nSmallImageIndexZero-based index of button's image in the image list of small icons.
nLargeImageIndexZero-based index of the button's image in the list of large images.
imagesPaletteA reference to image list containing gallery images.
pImagesPaletteSimplifiedA pointer to image list containing gallery images (displayed in the Ribbon simplified mode).
typeSpecifies a ribbon element appearance in the Ribbon simplified mode.
bHideInFullModeSpecifies whether a ribbon element is invisible in the Ribbon classic (non-simplified) mode.