This data member m_bAutoDelete is a public variable of type BOOL. If it is nonzero when the Windows CE 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.
Header file: | Afxext.h |
Platforms: | Palm-size PC, H/PC Pro |
Windows CE versions: | 2.10 and later |
Complete documentation: | Visual C++ documentation |
m_bAutoDelete