[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
The status of a virtual key.
Source position: winapih.inc line 131
public function TWidgetSet.GetKeyState( |
nVirtKey: Integer |
):SmallInt; virtual; |
nVirtKey |
|
The virtual key code. |
The key state flags.
The result reflects the message processing state, at the time of the last seen key message.
A key can be up, down or toggled.
The high order bit of the result is the up/down state, 1 for down.
The low order bit of the result is the toggled state, applicable to e.g. the caps-lock key. The bit is set if the key is toggled (active).
Version 4.0 | Generated 2025-05-03 | Home |