BCGControlBar Pro for MFC
BOOL CBCGPVisualContainer::Add ( CBCGPBaseVisualObject pObject,
BOOL  bAutoDestroy = TRUE 
)

Adds a new child visual object to the container.

Parameters
pObjectA pointer to the visual object.
bAutoDestroySpecifies whether the object should be destroyed automatically.
Returns
TRUE if it succeeds, FALSE if it fails.