🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #2400

Re: missing #define in bsesub.h?

#2400
From: Harald Boegeholz
Date: Sat, 09 Feb 1991 01:23
26 lines
1833 bytes
In article <TOWFIQ.91Feb6095628@babyoil.FTP.COM>, towfiq@FTP.COM (Mark Towfiq)
writes:
> Hi all.  I am doing keyboard input via the call KbdCharIn, using a
> structure KBDKEYINFO to receive the data.  In the QuickHelp
> information, under "Changes and Corrections", it says that in order to
> allow for a keypress of value 0xE0, an extended key code has only been
> received when the fsStatus field is set to EXTENDED_CODE.  The #define
> for EXTENDED_CODE, however, is not to be found in my MS 6.0 header
> files.  Does anyone know what this value is, or if it lives somewhere
> else?
They seem indeed to have forgotten this! By experimenting a
little with CodeView and KbdCharIn I have come to the
conclusion that the correct #define should be
#define EXTENDED_CODE 0x0002
and it should be inserted in bsesub.h just after the definition
of SHIFT_KEY_IN. Can anybody confirm this?

Btw, these #defines are under the KBDTRANS structure, which leads
me to believe that the documentation of the KBDTRANS structure
might be wrong. There is no word about EXTENDED_CODE there...

Harald
--
Harald Boegeholz |Home:       hwb@texnix.stgt.sub.org (read daily)
                 |University: boegehol@az3.informatik.uni-stuttgart.de
                 |            ^ please use the latter for large (>100k) mails
Technical Details
Message-ID: <68177.910207@texnix.stgt.sub.org>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!smurf!nadia!texnix!hwb
References: <TOWFIQ.91Feb6095628@babyoil.FTP.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!smurf!nadia!texnix!hwb
From: hwb@texnix.stgt.sub.org (Harald Boegeholz)
Newsgroups: comp.os.os2.programmer
Subject: Re: missing #define in bsesub.h?
Summary: Yeah, it's missing!
Message-ID: <68177.910207@texnix.stgt.sub.org>
Date: 9 Feb 91 01:23:16 GMT
References: <TOWFIQ.91Feb6095628@babyoil.FTP.COM>
Reply-To: hwb@texnix.stgt.sub.org
Distribution: comp
Lines: 26