Name

Public Const WM_SYSCHAR = &H106

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

1 if the ALT key is pressed along with this key; 0 otherwise

30

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

31

1 if the key is released; 0 otherwise

Description

Posted to a window to indicate 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.