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