Partager via


CMFCRibbonBar::GetCategory

Retrieves a pointer to the ribbon category at the specified index.

CMFCRibbonCategory* GetCategory(
   int nIndex 
) const;

Parameters

  • [in] nIndex
    The zero-based index of a ribbon category in the list of ribbon categories that is contained in the ribbon bar.

Return Value

A pointer to the ribbon category at the specified index; otherwise, NULL if nIndex was out of range.

Requirements

Header: afxribbonbar.h

See Also

Reference

CMFCRibbonBar Class

Hierarchy Chart