BCGControlBar Pro for MFC
void CBCGPBaseVisualObject::SetAutoDestroy ( BOOL  bAutoDestroy = TRUE)
inline

Specifies whether the object should be destroyed automatically.