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

Loads the user tool's information from the Windows registry.

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

This function loads a CBCGPUserToolsManager object's state from the Windows registry.

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.