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


Removes a ribbon panel from the ribbon category.

BOOL RemovePanel(
   int nIndex,
   BOOL bDelete = TRUE

[in] nIndex

The index number of the panel to remove. Obtained by calling the CMFCRibbonCategory::GetPanelIndex method.

[in] bDelete

TRUE to delete the panel object from memory; FALSE to remove the panel object without deleting it.

TRUE if the method was successful; otherwise, FALSE.

© 2015 Microsoft