CMFCDropDownFrame::SetAutoDestroy
Sets whether the child drop-down toolbar window is destroyed automatically.
void SetAutoDestroy(
BOOL bAutoDestroy = TRUE
);
Parameters
- [in] bAutoDestroy
TRUE to automatically destroy the associated drop-down toolbar window; otherwise, FALSE.
Remarks
If bAutoDestroy is TRUE, then the CMFCDropDownFrame destructor destroys the associated drop-down toolbar window. The default value is TRUE.
Requirements
Header: afxdropdowntoolbar.h