Share via


CMFCRibbonGallery::GetGroupName

Returns the name of the group that is located at the specified index.

LPCTSTR GetGroupName(
    int nGroupIndex 
) const;

Parameters

  • [in] nGroupIndex
    Specifies the zero-based index for the group whose name you want to retrieve.

Return Value

The name of the group located at the specified index. Passing an invalid index will result in a failed assertion.

Requirements

Header: afxRibbonPaletteGallery.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCRibbonGallery Class