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
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.

CDockState::SaveState 

Call this function to save the state information to the registry or .INI file.


void SaveState(
   LPCTSTR lpszProfileName 
);

Parameters

lpszProfileName

Points to a null-teminated string that specifies the name of a section in the initialization file or a key in the Windows registry where state information is stored.

The profile name is the section of the application's .INI file or the registry that contains the control bar's state information. SaveState also saves the current screen size. You can retrieve control bar information from the registry or .INI file with LoadState.

Community Additions

ADD
Show:
© 2015 Microsoft