Prevent the user from task switching

Started by
0 comments, last by tibo 21 years ago
Hi fellas I''m currently working on an application which will be running during a demonstration. My goal is to make the user forget he is using a PC, to focus on the subject, and also prevent stupid guys to try ALT-TAB and CTRL-ALT-SUPPR combinations, so that the thing doesn''t end up in a mess (it is a fullscreen d3d application). Does anybody knows how to prevent such actions under MS Windows XP ? I have seen several articles (at Microsoft) and FAQs that looked like: Q: How do I disable task switching ? A: You don''t. Cool, isn''t it ? Any ideas ? Tibo
Advertisement
quote:Original post by tibo
Any ideas ?

Yes. Don''t.

If you do, there are a number of ugly workarounds to try. I doubt there''s a reasonably non-messy way to prevent the alt-tab dialog from showing, but you can always create a WS_EX_TOPMOST main window.

To get rid of the Windows task bar, set the registry value
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\WinLogon\Shell
to the full path of your exe (works on Win2000 anyway).
"-1 x -1 = +1 is stupid and evil."-- Gene Ray

This topic is closed to new replies.

Advertisement