Notes
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Adds a new group to the gallery.
void AddGroup(
LPCTSTR lpszGroupName,
UINT uiImagesPaletteResID,
int cxPaletteImage
);
void AddGroup(
LPCTSTR lpszGroupName,
CMFCToolBarImages& imagesGroup
);
void AddGroup(
LPCTSTR lpszGroupName,
int nIconsNum
);
Parameters
[in] lpszGroupName
Specifies the name of the group.[in] uiImagesPaletteResID
Specifies the resource ID of the image list that contains the images for the group.[in] cxPaletteImage
Specifies the width in pixels of an image.[in] imagesGroup
A reference to image list that contains group images.[in] nIconsNum
Specifies the number of icons in the group. This parameter should be specified only for custom (owner drawn) groups.
Remarks
You can divide the items on a ribbon gallery into multiple groups by calling this method. Each group can have a caption.
Requirements
Header: afxRibbonPaletteGallery.h