BCGControlBar Pro for MFC
BOOL CBCGPRibbonButton::RemoveSubItem ( int  nIndex)

Removes a sub-item.

Returns
Non-zero if specified sub-item has been removed successfully; otherwise 0.

Use this function to remove a sub-item specified by index nIndex.

Parameters
nIndexSpecifies zero-based index of sub-item to remove.