Hiding the task bar through code.

  • Thread starter Thread starter UJ
  • Start date Start date
U

UJ

How can I hide the task bar through code? I essentially want to change the
option to hide automatically so I can use the full screen.

TIA - Jeff.
 
Actually I got the code working. It now forcibly hides the task bar and it's
gone for good. Is there any way to turn the auto hide feature one?

I'm doing this for a product that is going to run like a kiosk.

TIA - Jeff.
 
How can I hide the task bar through code? I essentially want to change the
option to hide automatically so I can use the full screen.

If you create a fullscreen maximized form, the shell will respect that
and your application will be able to cover the entire screen without
messing with the taskbar settings.


Mattias
 
Mattias said:
If you create a fullscreen maximized form, the shell will respect that
and your application will be able to cover the entire screen without
messing with the taskbar settings.

If the taskbar is not set to auto-hide and is set to stay on top of other
windows, then this won't work.
 
Tom,
If the taskbar is not set to auto-hide and is set to stay on top of other
windows, then this won't work.

Works nicely here with the same settings. You have to maximize the
form and set the FormBorderStyle to None and/or set ControlBox =
false.


Mattias
 
Mattias said:
Tom,


Works nicely here with the same settings. You have to maximize the
form and set the FormBorderStyle to None and/or set ControlBox =
false.

Ah, now the missing details. Just Maximizing and setting ControlBox=false
does not work. Maximizing and setting FormBorderStyle=none does work,
regardless of ControlBox property.
 
Back
Top