Remarks
m_bAutoDelete is a public variable of type BOOL. If it is nonzero when the Windows control-bar object is destroyed, the CControlBar object is deleted.
A control-bar object is usually embedded in a frame-window object. In this case, m_bAutoDelete is 0 because the embedded control-bar object is destroyed when the frame window is destroyed.
Set this variable to a nonzero value if you allocate a CControlBar object on the heap and you do not plan to call delete.
CControlBar Overview | Class Members | Hierarchy Chart
See Also CWnd::DestroyWindow