BCGControlBar Pro for MFC
BOOL CBCGPKeyboardManager::LoadState ( LPCTSTR  lpszProfileName = NULL,
CFrameWnd *  pDefaultFrame = NULL 
)

Loads the accelerator state from the Windows registry.

Returns
Nonzero if the state was loaded successfully.

Call this function to load the accelerator tables state from the Windows registry. The state should be previously saved by the SaveState() call to the same registry path specified by the lpszProfileName parameter.

Parameters
lpszProfileNameSpecifies the registry path where the accelerator state was saved.
pDefaultFrameA pointer to a frame window object that serves as default frame.