Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content


Deletes the specified ribbon category from the ribbon bar.

BOOL RemoveCategory(
   int nIndex 

[in] nIndex

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

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

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

Header: afxribbonbar.h

© 2015 Microsoft