VS2008 Taskbar is hidden when WindowState = Maximized and MaximizeBox

VS2008 Taskbar is hidden when WindowState = Maximized and MaximizeBox

am 03.04.2008 09:17:57 von stumorgan

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.

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

am 03.04.2008 10:39:44 von Marc Gravell

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

So change one of those ;-p

Marc

Re: VS2008 Taskbar is hidden when WindowState = Maximized and

am 03.04.2008 16:47:22 von stumorgan

On Apr 3, 1:39 am, "Marc Gravell" 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.