Re: Eu2.1: how disable special WINDOWS keys?
- Posted by Kat <gertie at PELL.NET> Aug 29, 2000
- 492 views
Umm,, something is banging on the back of my head, telling me that windows traps these with a special handler. I don't remember how, and can't seem to find data on it. To find help on ansi.sys, in a dos window type "help ansi". I can send you more info, but it's all dos-based, pre-win3.x. Another thought, can you trap int10 (09h), the bios keybd handler, which gets the input before dos gets it? Or int16h? Remember, DOS is just a series of functions overlaying the bios, which does the real work for dos. Using the hardware/bios interrupts may not work the same on all computers, most noteably semi-proprietary systems like Osbourne, HP, Bell, etc., or all pre-pentium-class boxes, such as XT's or any 386 puter. Kat On 28 Aug 2000, at 21:51, Dan B Moyer wrote: > Kat, > > Ok, since I'm not trying to do it in Windows, I'm interested; but how would > I use ansi.sys? In case it relates, I don't know the scan codes for those > keys, as they don't seem to go through the "get_keys()" routine. > > Dan > > ----- Original Message ----- > From: "Kat" <gertie at PELL.NET> > To: <EUPHORIA at LISTSERV.MUOHIO.EDU> > Sent: Monday, August 28, 2000 9:32 PM > Subject: Re: Eu2.1: how disable special WINDOWS keys? > > > > On 28 Aug 2000, at 23:37, wolfgang fritz wrote: > > > > > ... ummmm > > > maybe someone could ask Mr. David Cuny if this might be a job for > > > returnValue() ? > > > ... that's assuming this is a win32lib program. > > > > > > > I'm starting to re-do a kid's "keybanger" program I started but didn't > > > > finish a while back, & I just realized that there are "special" keys > on > > > > newer keyboards that activate WINDOWS stuff, (like the start menu, > > > simulated > > > > right mouse click), which I *can't* have happening for a kid banging > away > > > on > > > > the keyboard (not just mine, but any who might use the program); > > > > so does anyone know how can I DISABLE those keys from functioning???? > > > > I haven't tried this in windoze, but you might try running ansi.sys with > those keys > > remapped to the space key or some other harmless key. > > > > Kat >