Task Switching HeadAche :(
by Matthew Laurenson · in Technical Issues · 01/04/2003 (8:43 am) · 3 replies
Can someone please visit www.mindcage.4saken.co.uk
- here you will find the current build of OpenApp...
The problem im having is with the OpenApp module/library..
Im trying to disable the alt-tab & prevent the user from
invoking the task bar...
All other system events are working fine - WM_SYSCHAR
is supposed to intercept the alt-tab combo + allow me to
disable it...it doesnt appear to work...
Ive also tried using the SystemParametersInfo() function
to disable task-switching ... this doesnt seem to work either..
Please - if you have time...could you have a look +
either try to get it to work or - tell me what im
doing wrong :(
Thankyou :)
- here you will find the current build of OpenApp...
The problem im having is with the OpenApp module/library..
Im trying to disable the alt-tab & prevent the user from
invoking the task bar...
All other system events are working fine - WM_SYSCHAR
is supposed to intercept the alt-tab combo + allow me to
disable it...it doesnt appear to work...
Ive also tried using the SystemParametersInfo() function
to disable task-switching ... this doesnt seem to work either..
Please - if you have time...could you have a look +
either try to get it to work or - tell me what im
doing wrong :(
Thankyou :)
About the author
#2
One method that has occurred to me that I may try out one day is to disable task-switching, but provide a configuration screen to allow the user to specify what apps you'll let them switch to - a limited number. Then you can do the switch for them if they request it in-game. The reason is, of course, that you can check the app that the user wants to switch to to see if it's a known trainer, or other cheat tool.
01/04/2003 (2:11 pm)
Some games use this approach to prevent people from using trainers or gear to cheat. However there are many legitimate reasons for users to have task switching available, like using Roger Wilco, ICQ, checking email, and on and on.One method that has occurred to me that I may try out one day is to disable task-switching, but provide a configuration screen to allow the user to specify what apps you'll let them switch to - a limited number. Then you can do the switch for them if they request it in-game. The reason is, of course, that you can check the app that the user wants to switch to to see if it's a known trainer, or other cheat tool.
#3
Ive actually decided to go different route...
- i have disabled some standard activity - but not the task
switching..
Instead i simply check to see if my app has the focus..
if not..the user has attempted a mode swap - this will prevent
me writing dangerouse or offensive code + will allow me to restore
the screen res + minimise the app...
Cheating is not a real issue as far as im concerned..i jst
didnt want people tabbing between tasks while the app was in
fullscreeb screen mode.....its not a niCe experience is all..
Anyway - many thanks for your help ;)
01/04/2003 (4:52 pm)
Ok thanks guys! ;)Ive actually decided to go different route...
- i have disabled some standard activity - but not the task
switching..
Instead i simply check to see if my app has the focus..
if not..the user has attempted a mode swap - this will prevent
me writing dangerouse or offensive code + will allow me to restore
the screen res + minimise the app...
Cheating is not a real issue as far as im concerned..i jst
didnt want people tabbing between tasks while the app was in
fullscreeb screen mode.....its not a niCe experience is all..
Anyway - many thanks for your help ;)
Associate Melv May
You should know though that disabling task switching is quite an offense to most users and falls outside of standard software etiquette.
Hope this helps though.
- Melv.