I've had to do the same thing several times on PC's set up in a lobby for
customers (the public) to sign in, and also a guard desk application where
vistitors sign in and get a badge printed on the spot. And it's very hard to
do in windows. The least troublesome way is to make a form that has no
controls, no close box, control box or min/max. Set it topmost. Be sure to
monitor keystrokes so you can kill the app with a password. Make the box
size the same as the screen resolution and set the start bar so it's not
hidden and doesn't cover anything. This will fool anyone except a smart 8
year old.
On the app that the public used, I even altered the keyboard to disable the
F keys, control and alt keys, print screen, etc.
I hope this helps
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:%2****************@TK2MSFTNGP12.phx.gbl...
Gaby,
It should be noted that this is very bad behavior for any program, and
should be discouraged. I also believe that there are statements to this
affect in the Windows Application Guidelines. Of course, that doesn't
mean that you can't do it, just that you shouldn't.
What exactly are you trying to do? Perhaps there is a better way of
doing it.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"G Uljee" <le***@xs4all.nl> wrote in message
news:40*********************@news.xs4all.nl... Hi,
I want that my application is always on top (configurable), so the user
can not use any other program.
Any ideas?
Gaby