WM_HOTKEY

WM_HOTKEY

idHotKey = (int) wParam; /* identifier of hot-key */

The WM_HOTKEY message is posted when the user presses a hot key. The message is placed at the top of the message queue associated with the thread that registered the hot key.

Parameters

wParam

Specifies the identifier of the hot key that generated the message. If the message was generated by a system-defined hot key, the wParam parameter will be one of the following values:

Value Meaning

IDHOT_SNAPWINDOW The 'snap window' hot key was pressed.
IDHOT_SNAPDESKTOP The 'snap desktop' hot key was pressed.

See Also

RegisterHotKey