🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to get and set the NumLock State?

#17607
From: Remy Lebeau (TeamB)
Date: Sun, 23 Mar 2003 23:35
10 lines
1321 bytes
Have a look at GetKeyState/GetAsyncKeyState()


Gambit

"Phuoc Can HUA" <home+a+t+huaonline.com> wrote in message
news:3e7e4050@newsgroups.borland.com...
> How do I read and change the the state of the NumLock
> button? How can I find out whether the Shift key is pressed
> and hold (not just in a KeyPress event, but anywhere in program)?
Technical Details
Message-ID: <3e7e427d$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3e7e4050@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,6e8150c928fb21c9
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-03-23 23:45:41 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3e7e4050@newsgroups.borland.com>
Subject: Re: How to get and set the NumLock State?
Date: Sun, 23 Mar 2003 15:35:04 -0800
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 207.175.226.26
Message-ID: <3e7e427d$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1048461949 207.175.226.26 (23 Mar 2003 15:25:49 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail