Wednesday, March 2, 2011

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);

Twitter Delicious Facebook Digg Stumbleupon Favorites More

Design by Kang Iwan K-sev | Thank's for your visit To My Site - Ridwan Mulyana | Cibeureum