Share via


CDockState::SaveState

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.

Remarks

Call this function to save the state information to the registry or .INI file. 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.

CDockState OverviewClass MembersHierarchy Chart

See Also   CDockState::LoadState, CDockState::GetVersion, CDockState::Clear, CFrameWnd::GetDockState, CFrameWnd::SetDockState