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


Call this function to store information about each control bar owned by the frame window.

void SaveBarState(
   LPCTSTR lpszProfileName 
) const;


Name of a section in the initialization file or a key in the Windows registry where state information is stored.


This information can be read from the initialization file using LoadBarState. Information stored includes visibility, horizontal/vertical orientation, docking state, and control bar position.

See Also

CFrameWnd Overview | Class Members | Hierarchy Chart | CFrameWnd::LoadBarState | CWinApp::SetRegistryKey | CWinApp::m_pszProfileName

© 2015 Microsoft