Compartilhar via


CBaseTabbedPane::SetAutoDestroy

Determines whether the tabbed control bar will be destroyed automatically.

void SetAutoDestroy(
    BOOL bAutoDestroy = TRUE
);

Parameters

  • [in] bAutoDestroy
    TRUE if the tabbed pane was created dynamically and you are not controlling its lifetime; otherwise, FALSE.

Remarks

Set the auto-destroy mode to TRUE if you create a tabbed pane dynamically and if you are not controlling its lifetime. If auto-destroy mode is TRUE, the tabbed pane will be destroyed automatically by the framework.

Requirements

Header: afxBaseTabbedPane.h

See Also

Reference

CBaseTabbedPane Class

Hierarchy Chart