BCGControlBar Pro for MFC
BOOL CBCGPRibbonCategory::RemovePanel ( int  nIndex,
BOOL  bDelete = TRUE 

Removes a panel from a Ribbon Category.

nIndexA zero-based value, which specifies the Panel's index in the list of Panels in the Category.
bDeleteSpecifies whether the Panel should be deleted (TRUE), or just detached from the parent Category (FALSE). In the second case the panel can be used somewhere else (added to another Category, for example).