The HKM_GETHOTKEY message retrieves the virtual-key code and modifier flags of a hot key from a hot-key control.
HKM_GETHOTKEY
wParam = 0;
lParam = 0;
Return Values
Returns the virtual-key code and modifier flags. The virtual-key code is in the low-order byte, and the modifier flags are in the high-order byte. The modifier flags can be a combination of the following values:
Value | Meaning |
HOTKEYF_ALT | ALT key |
HOTKEYF_CONTROL | CTRL key |
HOTKEYF_EXT | Extended key |
HOTKEYF_SHIFT | SHIFT key |
Remarks
The 16-bit value returned by this message can be used as the wParam parameter in the WM_SETHOTKEY message.
See Also