BCGControlBar Pro for MFC
BOOL CBCGPBaseVisualObject::IsAutoDestroy ( ) const
inline

Tells whether this object will be destroyed automatically.

Returns
TRUE if automatic destroy is enabled for this object, FALSE if not.

Call SetAutoDestroy() method to enable or disable object auto destroying.