CMFCRibbonBar::RemoveCategory
TOC
Collapse the table of content
Expand the table of content

CMFCRibbonBar::RemoveCategory

 

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.

Requirements

Header: afxribbonbar.h

Show:
© 2016 Microsoft