Hotkey control keycodes confusion
HKM_GETHOTEKY returns virtual key code and modifiers but they're not the
same as the ordinary virtual key codes? What is the purpose of HOTKEYF_EXT
and how do i use it?
If i press F5 the hotkey control returns 0x74 which is VK_F5, but when i
press the right arrow key, it returns 0x27 which is VK_RIGHT and the
HOTKEYF_EXT bit is set on the modifier. If i use HKM_SETHOTKEY with
VK_RIGHT as virtual key and no modifiers, it shows "Num 6"
I find this very strange and I need to be able to pass any virtual keys to
the hotkey control window, and therefore i need to understand this
HOTKEYF_EXT modifier.
No comments:
Post a Comment