BCGControlBar Pro for MFC
CBCGPRibbonPaletteButton::CBCGPRibbonPaletteButton ( UINT  nID,
LPCTSTR  lpszText,
int  nSmallImageIndex,
int  nLargeImageIndex,
UINT  uiImagesPaletteResID = 0,
int  cxPaletteImage = 0,
UINT  uiImagesPaletteSimplifiedResID = 0,
int  cxPaletteImageSimplified = 0,
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.
uiImagesPaletteResIDResource id of image list with gallery images.
cxPaletteImageSpecifies the width, in pixels, of gallery image.
uiImagesPaletteSimplifiedResIDSpecifies a resource ID of an image list, which contains images for the group. This image list will be displayed in the Ribbon simplified mode only.
cxPaletteImageSimplifiedSpecifies the width of an image (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.