Windows key and ALT-Tab
by GAMEHACK3R · in Technical Issues · 10/15/2008 (1:39 am) · 4 replies
Is it possible to stop the player/user from using the windows key from bringing up the start menu and from ALT-Tabing out of TGE.
If so , how ????
Im wishing to use these keys to do other things in my game
If so , how ????
Im wishing to use these keys to do other things in my game
#2
10/16/2008 (11:24 am)
I would advise against, at least, using the Windows key for anything in-game. It's not a key that's standard for every keyboard. Granted most of the time it will be there, but there are still keyboards without it.
#3
10/16/2008 (8:20 pm)
Making a hacking simulator ... use of the "windows" key and "alt tab" would be nice. Anyone know how exactly ???
#4
10/17/2008 (6:10 am)
You just have to identify the DIK codes for the keys, catch them in your own code and deal with them accordingly. Take a look at the DirectInput files in TGE as well as the DirectInput samples that come with the DirectX SDK to get a good understanding of what you need to do.
Torque Owner Andrew Hull
Off the top of my head, I don't know EXACTLY how though.