how to take control of entire screen?

  • Thread starter Thread starter ilPostino
  • Start date Start date
I

ilPostino

I'd like to take over the whole screen, eg: the user sees no taskbar etc - I
don't want to use directx, do I need to head down the road
of gdi+ ? or is there some way to force a form to be so big?

thanks

C
 
Set your form's border to none, controlbox=false, maximizebox=false, minimizebox=false, windowstate=maximized, topmost=true and set the form's text (i.e., caption) = nothing.

This will make your form take up the entire screen - but the user will still be able to access the taskbar and start menu by pressing the 'Window' key on their keybord. There are ways to prevent that but I don't know any offhand.
 
thanks, the only downside of this is the taskbar is still visible if it's
not set to autohide.

I don't mind the user tasking to other applications, most directx games
still allow even that.

C

mredmond said:
Set your form's border to none, controlbox=false, maximizebox=false,
minimizebox=false, windowstate=maximized, topmost=true and set the form's
text (i.e., caption) = nothing.
This will make your form take up the entire screen - but the user will
still be able to access the taskbar and start menu by pressing the 'Window'
key on their keybord. There are ways to prevent that but I don't know any
offhand.
 
Back
Top