Saves the docking manager's state to the registry.

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

[in] lpszProfileName

A path to a registry key.

[in] uiID

The docking manager ID.

TRUE if the state was saved successfully; otherwise FALSE.

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.

Header: afxdockingmanager.h

Community Additions