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

Loads the manager state from the Windows registry.

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

This function loads the CBCGPMouseManager state from the Windows registry. The state information includes the registered views identifiers and their associated commands.

Usually, you don't need to call this function directly, it is called as a part of workspace initialization process (see CBCGPWorkspace::LoadState).

Parameters
lpszProfileNameA path to the Windows registry key.