(page requirements)

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;
  Result := 0 <>
    (GetKeyState(VK_CAPITAL) and $01);

Applicable Keywords : Delphi, Delphi 1.x, Delphi 2.x, Functions, Win32
Copyright © 2009 Chami.com. All Rights Reserved. | Advertise | Created in HTML Kit editor