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

Loads menus from the Windows registry

Returns
Nonzero if the menus are loaded; otherwise 0.

The function loads all context menus from the Windows registry. Call the SaveState() member function to save the menus to the registry.

Parameters
lpszProfileNameSpecifies a Windows registry path to load the state from