Name

Public Const WM_SYSKEYDOWN = &H104

Synopsis

wParam

Contains the virtual key code of the key pressed.

lParam

Contains bit flags for the key pressed. The bit flags are as follows:

0-15

Number of times the key is repeated

16-23

Scan code

24

Indicates if the key pressed is an extended key

25-28

Reserved

29

Always 0 for WM_SYSKEYDOWN messages

30

The previous key state; 1 if the key was already pressed before this message was posted, 0 otherwise

31

Always 1 for WM_SYSKEYDOWN messages

Description

Posted to a window indicating that a system key was pressed (a system key is the F10 key or one that is pressed while the ALT key is being 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.