Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 1.81 KB

hkm-gethotkey.md

File metadata and controls

61 lines (41 loc) · 1.81 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
HKM_GETHOTKEY message (Commctrl.h)
Gets the virtual key code and modifier flags of a hot key from a hot key control.
8b061411-604d-46ea-a082-3eca2d47d992
HKM_GETHOTKEY message Windows Controls
apiref
HKM_GETHOTKEY
Commctrl.h
HeaderDef
reference
05/31/2018

HKM_GETHOTKEY message

Gets the virtual key code and modifier flags of a hot key from a hot key control.

Parameters

wParam

Must be zero.

lParam

Must be zero.

Return value

Returns the virtual key code and modifier flags. The LOBYTE of the LOWORD is the virtual key code of the hot key. The HIBYTE of the LOWORD is the key modifier that specifies the keys that define a hot key combination. The modifier flags can be a combination of the following values.

Value Meaning
HOTKEYF_ALT ALT key
HOTKEYF_CONTROL CONTROL 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.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h