共用方式為


CMFCRibbonGallery::SetGroupName

Sets the name of a group.

void SetGroupName(
    int nGroupIndex,
    LPCTSTR lpszGroupName 
);

Parameters

  • [in] nGroupIndex
    Specifies the zero-based index for the group for which the name is being changed.

  • [in] lpszGroupName
    Specifies the new name for the group.

Remarks

The group whose name is being changed must have been added using the CMFCRibbonGallery::AddGroup method.

Requirements

Header: afxRibbonPaletteGallery.h

See Also

Reference

CMFCRibbonGallery Class

Hierarchy Chart