BCGControlBar Pro for MFC
BOOL CBCGPKeyboardManager::UpdateAcellTable ( CMultiDocTemplate *  pTemplate,
HACCEL  hAccelNew,
CFrameWnd *  pDefaultFrame = NULL 
)

Updates an accelerator table with a new accelerator key.

Returns
Nonzero if the document accelerator table has been updated successfully.

Use this function to replace the existing accelerator table with a new accelerator key for several frame window objects. The function receives a document template as a parameter to get access to all frame window objects that connected to the given document template.

Parameters
pTemplateA pointer to document template.
hAccelNewA handle to the accelerator table to be updated.
pDefaultFrameA pointer to the default frame window object.