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

Saves context menus to the Windows registry

Returns
Nonzero if the menus are saved; otherwise 0.

Call this function to save the current context menus state to the Windows registry.

Parameters
lpszProfileNameSpecifies a Windows registry path to load the state from