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;
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 |
The 16-bit value returned by this message can be used as the wParam parameter in the WM_SETHOTKEY message.
file: /Techref/os/win/api/win32/mess/src/msg08_21.htm, 1KB, , updated: 2000/4/7 12:20, local time: 2024/8/23 04:15,
18.191.45.195:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.org/Techref/os/win/api/win32/mess/src/msg08_21.htm"> HKM_GETHOTKEY</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.