WinXIsKeyDown (key)
determines if a particular key is currently pressed
Parameter | Description |
---|---|
key | The key to check for |
$$TRUE if the key is pressed, $$FALSE if it isn't
The key parameter is a virtual key code. The virtual key codes for alphanumeric keys are their ASCII codes. A list of the virtual key codes for other keys can be found in the Win32 documentation.
'check to see if the A key is currently pressed IF WinXIsKeyDown ('A') THEN PRINT "The 'A' key is pressed" |