🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

R: Keyboard scan code

#15306
From: Steve_Aletto
Date: Wed, 09 Jul 2003 13:04
25 lines
1704 bytes
Wolf Grossi <bl-wg@magro-soft.com> wrote in message
3f0bc591$1@newsgroups.borland.com...
>
> Hi,
> being new to this forum, I say greetings to all!

Welcome!

> I need to distinguish *all* the keyboard keys of a windows
keyboard.
>
> I've tried winapi's functions like GetMessageExtraInfo,
etc. etc. but
> these do not distinguish between all keys, eg. numbers
above the
> letters and numbers on the right number field.

It depends a lot on what you're really trying to do (what do
you mean with "distinguish"?), anyway having a look at
GetKeyboardState, GetAsyncKeyState and related functions
should be useful.

HTH,

Steve.
Technical Details
Message-ID: <3f0c12c9@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!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f0bc591$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,a9b3ecae60781104
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-07-09 06:10:20 PST
Reply-To: "Steve_Aletto" <steve_alettoANTI@SPAMhotmail.com>
From: "Steve_Aletto" <steve_alettoANTI@SPAMhotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f0bc591$1@newsgroups.borland.com>
Subject: R: Keyboard scan code
Date: Wed, 9 Jul 2003 15:04:02 +0200
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
NNTP-Posting-Host: 80.105.101.132
Message-ID: <3f0c12c9@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1057755849 80.105.101.132 (9 Jul 2003 06:04:09 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail