BCGControlBar Pro for MFC
void CBCGPRibbonPaletteButton::AddGroup ( LPCTSTR  lpszGroupName,
int  nIconsNum 
)

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 custom group to the Gallery.

Parameters
lpszGroupNameSpecifies the group name.
nIconsNumSpecifies the number of icons in the group. Should be specified for custom (owner draw) groups only.