Share via


WinAPI::isKeyDown Method [AX 2012]

Determines whether the specified key is currently pressed.

Syntax

client public static boolean isKeyDown(int _virtualKeyCode)

Run On

Client

Parameters

  • _virtualKeyCode
    Type: int
    Virtual-key code of the key.

Return Value

Type: boolean
true if the key is down; otherwise, false.

See Also

Reference

WinAPI Class