|
Find out if the CAPS LOCK is on |
Views: 1618
|
Thread Tools | Rate Thread |
#1
|
|||
|
|||
Find out if the CAPS LOCK is on
Here's a function you can use to find out if the CAPS LOCK is on:
function IsCapsLockOn : boolean; begin Result := 0 <> (GetKeyState(VK_CAPITAL) and $01); end; |