Share via


CMFCRibbonBar::RemoveCategory

Deletes the specified ribbon category from the ribbon bar.

BOOL RemoveCategory(
   int nIndex 
);

Parameters

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

Return Value

TRUE if the specified ribbon category was deleted; otherwise FALSE.

Remarks

The specified ribbon category is deleted from memory and from the category list.

Requirements

Header: afxribbonbar.h

See Also

Reference

CMFCRibbonBar Class

Hierarchy Chart