BCGControlBar Pro for MFC
BOOL CBCGPWorkspace::SaveState ( CBCGPOleIPFrameWnd pFrame,
LPCTSTR  lpszSectionName = NULL 

Stores the framework's state into the Windows registry.

Override this member function to receive notification that the application state has been saved to the Windows registry.

lpszSectionNameSpecifies a relative path to the application data key.
pFrameA pointer to a frame window object.