Thanks,

I had missed that as I have alwasy checked bit 15 in the past which 
is the current state.  That part works now.

Date sent:              Mon, 13 Sep 2004 21:00:52 +1200
To:                     [EMAIL PROTECTED],
        NZ Borland Developers Group - Delphi List <[EMAIL PROTECTED]>
Subject:                Re: [DUG] System wide keyboard hook
From:                   Kit Jackson <[EMAIL PROTECTED]>
Send reply to:          NZ Borland Developers Group - Delphi List <[EMAIL PROTECTED]>
        <mailto:[EMAIL PROTECTED]>
        <mailto:[EMAIL PROTECTED]>

> 
> GetKeyState(VK_CAPITAL) should return 1 if CAPS LOCK is on.
> 
> There's some subtleties in this because some of the other bits of the 
> returned value are set if the CAPS LOCK key itself is pressed.
> 
> Kit Jackson
> _______________________________________________
> Delphi mailing list
> [EMAIL PROTECTED]
> http://ns3.123.co.nz/mailman/listinfo/delphi
> 

Regards

Rohit

======================================================================
CFL - Computer Fanatics Ltd.  21 Barry's Point Road, AKL, New Zealand
PH    (649) 489-2280 
FX    (649) 489-2290
email [EMAIL PROTECTED]  or  [EMAIL PROTECTED]
======================================================================


_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to