How to make program full screen and avoid user switching to deskto

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi,all
We are going to develop a program and when it is running, we need it full
screen and also, user can not switch to other place before exit our program.
I am thinking, we can make a window full screen, but how to avoid user
switching to other program or windows? And also, there are many hot keys, how
to capture or disable these things?

Thanks
 
Hy
the form make stay on top.
u can disable switching to other programs disabling alt-tab and windows
shortcut's.
good luck
Paul
 
Hi!
First of all change the window state property to maximized to get a full
screen.
second, when you show the form call to showdialog and not to show, that give
the focus to that form till you close it.if you call to show the window can
be minimized.
if you don't want to show the minimized and maximized buttons you can change
the control box property to false.
guy
 
Hi Nicky,

Change the FormBorderStyle to None, and set the size to that of the screen,
to get a clean 'full-screen'.

Now disable the alt-tab and swithing shortcuts.

HTH,
Rakesh
 
Just a side thought about this. Nothing is more frustrating than a
program like this that grabs the screen and presents no way to switch
out. Especially when the program may use network resources. Paranoid
people like me use firewalls line ZoneAlarm. The first time your program
tries to use a network resource, zonealarm pops up with a dialog to
authorize access. I have had to actually power off my computer for one
program that grabbed the screen and would not allow me to get to the
firewall dialog to allow network access. This froze the entire machine
waiting for the authorization. Believe me this is hugely frustrating to
the point that i deleted the program and recommended that my company not
purchase and use the program.

Just something to think about.
Leon Lambert
 
Nicky said:
hi,all
We are going to develop a program and when it is running, we need it full
screen and also, user can not switch to other place before exit our program.
I am thinking, we can make a window full screen, but how to avoid user
switching to other program or windows? And also, there are many hot keys, how
to capture or disable these things?

I'm wondering if some of the suggestions in this thread can be overridden by opening the Task Manager with Ctl-Alt-Del? Will the Task Manager display over a Form set to Always On Top? If so, will the full screen form be minimized if I select Minimize from the Windows menu of the Task Manager?

I think it would be an interesting test.

- carl
 
This is a good question with a lot of good answers, but I am willing to bet
the house that there are a bunch of hidden gotchas that you will not be
accounting for.

I wish Microsoft had a nice document describing how to go about developing
an app that will run in some sort of kiosk computer inside a mall and covers
all possible scenarios of some teenager trying to screw around with it.

Is there such a document?
 
Back
Top