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.

ValueMeaning
HOTKEYF_ALTALT key
HOTKEYF_CONTROLCONTROL key
HOTKEYF_EXTExtended key
HOTKEYF_SHIFTSHIFT key

 

Remarks

The 16-bit value returned by this message can be used as the wParam parameter in the WM_SETHOTKEY message.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2015 Microsoft