Is CAPS on

Chris Webb Chris.Webb at catalina-software.co.uk
Fri Jun 5 08:18:32 EDT 2015


Hi Phil,

Yes, sorry. Windows.  Omnis 4.3.

Thanks

-----Original Message-----
From: omnisdev-en [mailto:omnisdev-en-bounces at lists.omnis-dev.com] On Behalf Of Phil (OmnisList)
Sent: 04 June 2015 15:24
To: omnisdev-en at lists.omnis-dev.com
Subject: Re: Is CAPS on

Windows?

Register DLL ('USER32','GetKeyState','II') Returns lnStatus Call DLL ('USER32','GetKeyState',VK_CAPITAL) Returns lnStatus Quit method lnStatus
;  #define VK_CAPITAL        0x14   (aka 20)

result 0 (zero) or 1.

regards
Phil Potter
Based in Chester in the UK.



On 04/06/2015 12:55, Chris Webb wrote:
> Hi All,
> Just a quickie hopefully...
> Is it possible to query if caps lock is on (not just if it's been pressed)? Can't seem to find any reference to it.
> Thanks in advance
> Chris
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
>
_____________________________________________________________
Manage your list subscriptions at http://lists.omnis-dev.com




More information about the omnisdev-en mailing list