Link to home
Start Free TrialLog in
Avatar of mcsilver
mcsilverFlag for Canada

asked on

Temporarily Disabling Windows95 keys

I'm running a DOS game (Descent) from within a Windows DOS session and I want to disable the Windows95 keys during that session.  Is this possible and how can I go about doing it?  Thanks!
Avatar of jkr
jkr
Flag of Germany image

Go to the settings of _default.pif in the windows' directory. On the last tab, you'll find a field named 'Windows access keys' (or so, i'm running a german version here..). Simply uncheck the buttons you don't want to use...
Avatar of mcsilver

ASKER

I want to disable the keys that invoke the Windows start menu and the Windows context (popup) menus, not key combinations like Alt-Space and Alt-Enter.
Well, perhaps you don't know that the start menu key is the equivalent to'Ctrl+Esc'...
Avatar of AnswerTheMan
AnswerTheMan

soon, our master Bill the Gatse will disable windows for any
Dos Sessions, so u'll have to upgrade to windows, the sooner the better.
Ctrl+Esc does not disable the Windows 95 key(s).  Does anyone have another suggestion?  Maybe I can write a program that will intercapt my keyboard input through the entire system.  Suggestions for how to do such a thing?

Thanks,
Craig
Dear brother/sister,

You want,  In Windows DOS session you want to disable the  Windows95 keys during that session.

1. simply use _getchar(), what ever keys you want process them.
    if you dont want to process, go back to your logic.
    i.e indireclty disbling the required keys. and you will got your funcionality.

2. If you have any doubts please tell me clearly. I will finish it and give it to you

with regards,
Bhavani  P Polimetla

I don't think this is going to work.  It sounds like you're thinking that *I* have written Descent, the DOS game that I'm running.  I haven't.  Descent is a commercial program and I want to write a program that will intercept the keyboard input before this program/game receives it.  How may I do that?
ASKER CERTIFIED SOLUTION
Avatar of Dex_Man
Dex_Man

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That did the trick.  Thank you kindly.

Craig