Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.


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

© 2015 Microsoft