🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #14535

Re: Caps Lock Status ?!!

#14535
From: Remy Lebeau (TeamB)
Date: Sun, 10 Aug 2003 20:18
12 lines
1308 bytes
"DRE" <dre00x@yahoo.com> wrote in message
news:3f3627d6@newsgroups.borland.com...

> Is there an api that makes me know the Caps Lock
> status if it is ON or OFF ?

GetKeyState() with the VK_CAPITAL key code.  The low-order bit of the return
value will be 1 if the Caps Lock is on.  Otherwise it will be 0.


Gambit
Technical Details
Message-ID: <3f36a70d$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!news.linkpendium.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3f3627d6@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,a51392a3a670c108
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-08-10 13:12:40 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f3627d6@newsgroups.borland.com>
Subject: Re: Caps Lock Status ?!!
Date: Sun, 10 Aug 2003 13:18:27 -0700
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 207.175.226.26
Message-ID: <3f36a70d$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1060546317 207.175.226.26 (10 Aug 2003 13:11:57 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!news.linkpendium.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail