Compartilhar via


CMFCRibbonGallery::SetPalette

Attaches a palette to a ribbon gallery.

void SetPalette(
    CMFCToolBarImages& imagesPalette 
);
void SetPalette(
    UINT uiImagesPaletteResID,
    int cxPaletteImage 
);

Parameters

  • [in] imagesPalette
    Specifies the image list that contains the icons to appear on the gallery.

  • [in] uiImagesPaletteResID
    Specifies the resource ID of the image list that contains the icons to appear on the gallery.

  • [in] cxPaletteImage
    Specifies the width, in pixels, of an image on the gallery.

Requirements

Header: afxRibbonPaletteGallery.h

See Also

Reference

CMFCRibbonGallery Class

Hierarchy Chart