BCGControlBar Pro for MFC
BOOL CBCGPKeyboardManager::UpdateAcellTable ( CMultiDocTemplate *  pTemplate,
LPACCEL  lpAccel,
int  nSize,
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.
lpAccelA pointer to the new accelerator key.
nSizeSpecifies the size of the new accelerator table.
pDefaultFrameA pointer to the default frame window object.