Allegro.cc - Online Community

Allegro.cc Forums » Programming Questions » Full Screen Lock

This thread is locked; no one can reply to it. rss feed Print
Full Screen Lock
Cody Harris
Member #4,406
March 2004
avatar

Hello again!
Is there a way to prevent users from switching away from the full screen application? Also, if it does switch away, when I put it back on fullscreen, I get an empty frame.

The purpose of the application is to prevent users from using my laptop. I display an image, and as soon as the user plugs in their USB drive, the program closes.

Thanks!

---------------------------------
Homepage - Art (Photography)
I'm QBasicer on #allegro on Freenode.

Kris Asick
Member #1,424
July 2001

http://www.allegro.cc/manual/api/graphics-modes/set_display_switch_mode

Though you also want to look up how to disable the CTRL+ALT+END combination Allegro has built-in and you'll also want to find out how to disable the CTRL+ALT+DEL combination built into Windows, because that combination will still work even if you disable Allegro's CTRL+ALT+END and there's nothing Allegro can do to stop it.

--- Kris Asick (Gemini)
--- http://www.pixelships.com

--- Kris Asick (Gemini)
--- http://www.pixelships.com

Oscar Giner
Member #2,207
April 2002
avatar

BAF
Member #2,981
December 2002
avatar

You can't stop ctrl+alt+delete.

Why do you need to use an Allegro program to do this though? What's wrong with Windows built in locking? Win key + L or ctrl+alt+delete->lock computer (if you have the pretty login screen on XP disabled) will be way more secure.

Go to: