By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,338 Members | 1,350 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,338 IT Pros & Developers. It's quick & easy.

Hiding the task bar through code.

P: n/a
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.
May 17 '06 #1
Share this Question
Share on Google+
6 Replies


P: n/a
Generally it's not a good idea to override a user's settings. Here is
an article you might find helpful

http://vbaccelerator.com/home/VB/Cod...ps/article.asp

May 17 '06 #2

P: n/a
UJ
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.

"Chris Dunaway" <du******@gmail.com> wrote in message
news:11**********************@j55g2000cwa.googlegr oups.com...
Generally it's not a good idea to override a user's settings. Here is
an article you might find helpful

http://vbaccelerator.com/home/VB/Cod...ps/article.asp

May 17 '06 #3

P: n/a
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 Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
May 17 '06 #4

P: n/a
Mattias Sjögren wrote:
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 Porterfield

May 17 '06 #5

P: n/a
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 Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
May 17 '06 #6

P: n/a
Mattias Sjögren wrote:
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.


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.
--
Tom Porterfield

May 18 '06 #7

This discussion thread is closed

Replies have been disabled for this discussion.