CKeyboardManager::IsKeyHandled
Determines whether the specified key is handled by the CKeyboardManager Class.
static BOOL __stdcall IsKeyHandled(
WORD nKey,
BYTE fVirt,
CFrameWnd* pWndFrame,
BOOL bIsDefaultFrame
);
Parameters
Parameter |
Description |
[in] nKey |
The key to check. |
[in] fVirt |
Specifies the behavior of the shortcut key. For a list of possible values, see ACCEL Structure. |
[in] pWndFrame |
A frame window. This method determines whether a shortcut key is handled in this frame. |
[in] bIsDefaultFrame |
A Boolean parameter that indicates whether pWndFrame is the default frame window. |
Return Value
TRUE if the shortcut key is handled. FALSE if the key is not handled or if pWndFrame is NULL.
Remarks
The input parameters must match the entry in the accelerator table both for nKey and fVirt to determine whether a shortcut key is handled in pWndFrame.
Requirements
Header: afxkeyboardmanager.h