VS2008 Taskbar is hidden when WindowState = Maximized and MaximizeBox

This is ridiculously annoying... I want to my form to be maximized
when it loads, and I want the maximize box to be disabled. However
when I set WindowState = Maximized and MaximizeBox = False, the form
expands to the entire size of my screen, covering the taskbar. If I
set MaximizeBox = True it correctly maximizes to the working area
(i.e. the entire screen except for the taskbar). Why does this
happen, and how can I fix it? I'm using VS 2008. Thanks in advance.
stumorgan [ Do, 03 April 2008 09:17 ] [ ID #1934482 ]

Re: VS2008 Taskbar is hidden when WindowState = Maximized and MaximizeBox = False

That is a consequence of having ControlBox = false, or FormBorderStyle =
None.

So change one of those ;-p

Marc
Marc Gravell [ Do, 03 April 2008 10:39 ] [ ID #1934484 ]

Re: VS2008 Taskbar is hidden when WindowState = Maximized and

On Apr 3, 1:39 am, "Marc Gravell" <marc.grav... [at] gmail.com> wrote:
> That is a consequence of having ControlBox = false, or FormBorderStyle =
> None.
>
> So change one of those ;-p
>
> Marc

It's not, because I have ControlBox = True and FormBorderStyle =
FixedDialog. I want it to show the control box and allow minimizing
and closing of the window, I just don't want to allow maximizing/
demaximizing. It seems like such a standard thing to want to have, it
would be ludicrous if it weren't possible.
stumorgan [ Do, 03 April 2008 16:47 ] [ ID #1934494 ]
Microsoft » microsoft.public.dotnet.general » VS2008 Taskbar is hidden when WindowState = Maximized and MaximizeBox

Vorheriges Thema: Re: Grippy Problem
Nächstes Thema: OpenFileDialog: Excluding Files