BOOL CBCGPKeyboardManager::UpdateAcellTable | ( | CMultiDocTemplate * | pTemplate, |
LPACCEL | lpAccel, | ||
int | nSize, | ||
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. |
lpAccel | A pointer to the new accelerator key. |
nSize | Specifies the size of the new accelerator table. |
pDefaultFrame | A pointer to the default frame window object. |