Share via


CDockState::LoadState

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

void LoadState( 
   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

The profile name is the section of the application's .INI file or the registry that contains the bars' state information. You can save control bar state information to the registry or .INI file with SaveState.

Requirements

Header: afxadv.h

See Also

Reference

CDockState Class

Hierarchy Chart

CDockState::SaveState

CDockState::GetVersion

CDockState::Clear

CFrameWnd::GetDockState

CFrameWnd::SetDockState

Other Resources

CDockState Members