CDockingManager::SaveState

Saves the docking manager's state to the registry.

virtual BOOL SaveState(
   LPCTSTR lpszProfileName = NULL,
   UINT uiID = (UINT) -1
);

Parameters

  • [in] lpszProfileName
    A path to a registry key.

  • [in] uiID
    The docking manager ID.

Return Value

TRUE if the state was saved successfully; otherwise FALSE.

Remarks

Saving the docking manager's state to the registry involves saving the states of the control bars, the states of the autohide bars, and the states of the mini frames present in the docking manager.

Requirements

Header: afxdockingmanager.h

See Also

Reference

CDockingManager Class

Hierarchy Chart