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

Sets auto destroy mode.

Set the auto destroy mode to TRUE if you create a tabbed control bar dynamically and you're not controlling its lifetime. In this case the tabbed control bar will be destroyed automatically.

Parameters
bAutoDestroySpecifies the new autodestroy mode.