Dela 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

Concepts

MFC Hierarchy Chart

Reference

CMFCRibbonBar Class

Change History

Date

History

Reason

October 2008

Updated whole topic.

Information enhancement.