CFrameWnd::SaveBarState

voidSaveBarState(LPCTSTRlpszProfileName**)const;**

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 store information about each control bar owned by the frame window. This information can be read from the initialization file using LoadBarState. Information stored includes visibility, horizontal/vertical orientation, docking state, and control bar position.

CFrameWnd OverviewClass MembersHierarchy Chart

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