BCGControlBar Pro for MFC
BOOL CBCGPProp::RemoveSubItem ( CBCGPProp *&  pProp,
BOOL  bDelete = TRUE 
)

Removes the specified sub-item.

Use this method to remove a property sub-item at runtime.

Parameters
pPropA pointer to sub-property to be removed.
bDeleteIf TRUE, the property pProp will be deleted. You can specify FALSE, if you need to move the property (e.g. remove and add).