🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Num Lock key

#11558
From: Charles Page
Date: Thu, 05 Feb 2004 02:16
14 lines
1420 bytes
hi,

1) I want to get the extended key codes from the numeric key pad if they 
are 1..9 but not if they are up, down, etc.  I am assuming that windows 
returns VK_NUMERIC8 regardless of the numlock state.
How do you detect if the numlock key is down?

2)I also want to detect all the key like '~', '^' and '"'.  The ascii 
table and the virtual key table seem to overlap in these areas.  What is 
  a way that i can do this (preferably as a set, i happen to editing 
grids.pas for BCB6)?

Thanks,
Charlie
Technical Details
Message-ID: <4021a775$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,7163999042abb088,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-02-04 18:31:55 PST
Date: Wed, 04 Feb 2004 21:16:36 -0500
From: Charles Page <lissom@snet.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Num Lock key
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 64.252.99.103
Message-ID: <4021a775$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1075947381 64.252.99.103 (4 Feb 2004 18:16:21 -0800)
Lines: 14
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail