void CBCGPRibbonPaletteButton::AddGroup | ( | LPCTSTR | lpszGroupName, |
UINT | uiImagesPaletteResID, | ||
int | cxPaletteImage, | ||
UINT | uiImagesPaletteSimplifiedResID = 0 , |
||
int | cxPaletteImageSimplified = 0 |
||
) |
Adds a new group to the gallery.
The Ribbon Gallery can display palette items split on several group. Each group may have a caption.
Use this method to add a group to the Gallery.
lpszGroupName | Specifies the group name. |
uiImagesPaletteResID | Specifies a resource ID of an image list, which contains images for the group. |
cxPaletteImage | Specifies the width of an image. |
uiImagesPaletteSimplifiedResID | Specifies 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. |
cxPaletteImageSimplified | Specifies the width of an image (simplified mode). |