BCGControlBar Pro for MFC
BOOL CBCGPMouseManager::SaveState ( LPCTSTR  lpszProfileName = NULL)

Stores the manager state into the Windows registry

Returns
Nonzero if the state was saved successfully; otherwise 0.

The function stores the current CBCGPMouseManager object state into the Windows registry. The state information includes all registered views identifiers and their associated commands.

Usually, you don't need to call this function directly, it's called automatically as a part of workspace serialization process (see CBCGPWorkspace::SaveState for details).

Parameters
lpszProfileNameA path to the Windows registry key.