Name

Public Const WM_HOTKEY = &H312

Synopsis

wParam

Indicates the hot key ID that generated the message; can be one of the following, defined in Appendix C:

IDHOT_SNAPDESKTOP
IDHOT_SNAPWINDOW
lParam

The high-order word contains the hot key’s virtual key code. The low-order word indicates the keys pressed in combination with the hot key. It can be one of the following, defined in Appendix C:

MOD_ALT
MOD_CONTROL
MOD_SHIFT
MOD_WIN
Description

Posted when a hot key is pressed.

Return Value

0 only if the application processes this message.

Get Subclassing and Hooking with Visual Basic now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.