BOOL CBCGPKeyboardManager::UpdateAcellTable | ( | CMultiDocTemplate * | pTemplate, |
HACCEL | hAccelNew, | ||
CFrameWnd * | pDefaultFrame = NULL |
||
) |
Updates an accelerator table with a new accelerator key.
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.
pTemplate | A pointer to document template. |
hAccelNew | A handle to the accelerator table to be updated. |
pDefaultFrame | A pointer to the default frame window object. |