Share via


CFrameWnd::LoadBarState

voidLoadBarState(LPCTSTRlpszProfileName**);**

Parameters

lpszProfileName

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 restore the settings of each control bar owned by the frame window. This information is written to the initialization file using SaveBarState. Information restored includes visibility, horizontal/vertical orientation, docking state, and control-bar position.

CFrameWnd OverviewClass MembersHierarchy Chart

See Also   CFrameWnd::SaveBarState, CWinApp::SetRegistryKey, CWinApp::m_pszProfileName