Dela via


CDockingManager::DisableRestoreDockState

Enables or disables loading of docking layout from the registry.

void DisableRestoreDockState(
    BOOL bDisable = TRUE
);

Parameters

  • [in] bDisable
    TRUE to disable loading of docking layout from the registry; otherwise, FALSE.

Remarks

Call this method when you must preserve the current layout of docking panes and toolbars when the application state is loading.

Requirements

Header: afxDockingManager.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CDockingManager Class