CMFCRibbonGallery::GetItemToolTip

Returns the tooltip text that is associated with an item in the gallery.

LPCTSTR GetItemToolTip(
    int nItemIndex 
) const;

Parameters

  • [in] nItemIndex
    Specifies the zero-based index of the item for which to retrieve the tooltip text.

Return Value

A pointer to the tooltip string assigned to an item in the ribbon gallery. It can be NULL if no tooltip is assigned to that item.

Requirements

Header: afxRibbonPaletteGallery.h

See Also

Reference

CMFCRibbonGallery Class

Hierarchy Chart