BCGControlBar Pro for MFC
BOOL CBCGPDiagramVisualContainer::Remove ( CBCGPDiagramItemID  id,
BOOL  bRebuildContainer = FALSE 
)

Removes the diagram item or connector from the container.

Parameters
idThe diagram item or connector identifier.
bRebuildContainerSpecifies whether the container should be rebuilt.
Returns
TRUE if it succeeds, FALSE if it fails.