Difference between revisions of "GetToggleKeyState"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function GetToggleKeyState(const VKey: Byte): Boolean; </source> ==Availability== SCAR Divi 3.35 > Current * Did not functi...") |
(No difference)
|
Revision as of 15:30, 10 November 2012
Definition
function GetToggleKeyState(const VKey: Byte): Boolean;
Availability
SCAR Divi 3.35 > Current
- Did not function correctly before 3.37 for TSCARWindowClient
Description
Gets the state of a key key that can be toggled from the active client (such as Caps Lock or Num Lock). This means that it will return true if the key is toggled on.
Example
begin repeat Wait(500) until GetToggleKeyState(VK_CAPITAL); WriteLn('Caps Lock is on'); end.