Article View: comp.os.os2.programmer.misc
Article #204How to disable NumLock key in PM App?
From: Keith Bennett
Date: Sun, 04 Sep 1994 22:44
Date: Sun, 04 Sep 1994 22:44
19 lines
1630 bytes
1630 bytes
Can anyone tell me how I can disable the NumLock key within my C++ app? By the way, please don't lecture me on why I shouldn't do this. This is a turnkey system with a laptop style keyboard. When NumLock is active, some of the letter keys become number keys. Users have unknowingly pressed NumLock and become really confused when the letter keys output numbers instead of letters. It is a PM app. I am catching the characters myself in the WM_CHAR message. I suppose I can look at the scan code and change the char value myself if it's one of those overloaded keys? Thanks for any help. - Keith -- -------------------------------------------------------------------------- Keith Bennett Bennett Business Solutions, Inc. C++/C Software Development 1852 Middlebridge Drive kbennett@cpcug.org Silver Spring, MD USA 20906
Technical Details
Message-ID:
<34dijg$pe1@cpcug.org>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!uunet!gatech!howland.reston.ans.net!news.intercon.com!news1.digex.net!digex.net!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cd94,d0cbea8efa9182f6,start X-Google-Attributes: gid10cd94,public X-Google-Thread: 11307a,d0cbea8efa9182f6,start X-Google-Attributes: gid11307a,public X-Google-ArrivalTime: 1994-09-04 16:12:48 PST Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!uunet!gatech!howland.reston.ans.net!news.intercon.com!news1.digex.net!digex.net!not-for-mail From: kbennett@cpcug.org (Keith Bennett) Newsgroups: comp.os.os2.programmer.misc,bit.listserv.os2-l Subject: How to disable NumLock key in PM App? Date: 4 Sep 1994 18:44:00 -0400 Organization: Express Access Online Communications USA: 800-969-9090 Lines: 19 Message-ID: <34dijg$pe1@cpcug.org> NNTP-Posting-Host: cpcug.org