CMFCRibbonCategory::RemovePanel

Removes a ribbon panel from the ribbon category.

BOOL RemovePanel(
   int nIndex,
   BOOL bDelete = TRUE
);

Parameters

  • [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.

Return Value

TRUE if the method was successful; otherwise, FALSE.

See Also

Reference

CMFCRibbonCategory Class

Hierarchy Chart