Re: Eu2.1: how disable special WINDOWS keys?
- Posted by Dan B Moyer <DANMOYER at PRODIGY.NET> Aug 29, 2000
- 451 views
On Tuesday, August 29, 2000 9:46 AM Kat said: > 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. > Dan says: sounds likely to me, too. > 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. Dan says: I haven't ever been able to get "help" like that on Win98, but I will look on an older Win3.x system which does. But would I be able to utilize it *programaitically*, so the app user wouldn't have to do anything? > > 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. Dan says: rather not do that if I can avoid it, (poking to re-set lockable keys is near my limit), and if there *is* a special handler for the special windows keys, as I would agree is likely, then 09h & 16h probably (?) wouldn't deal with them; plus, it's unappealing to make it not likely to work with other machines. Maybe I'll try asking MicroSoft (guffaw!) Thanks. > > 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 > >