CFrameWnd::SaveBarState
Visual Studio 2012
Call this function to store information about each control bar owned by the frame window.
void SaveBarState( LPCTSTR lpszProfileName ) const;
This information can be read from the initialization file using LoadBarState. Information stored includes visibility, horizontal/vertical orientation, docking state, and control bar position.