P
Paul R
Hi,
I would like to force my application to maximize when it is launched. I
have tried this by setting the WindowState in the designer at runtime, and
have also tried executing
WindowState = FormWindowState.Normal
The form does open maximized but it does not correctly maximize to the
Windows taskbar...the bottom of the form is lost under the taskbar. If I
use the form control menu to set the form to normal and then back to
maximized, it correctly fits into the available desktop area, only going up
to the top of the taskbar. Any ideas why???
Also I want to stop the user setting the window state to normal - I either
want it maximized or minimized, but never normal. If the user
double-clicks the Window title it does set the window state to normal. Is
there an easy way to prevent this from happening???
Many thanks.
I would like to force my application to maximize when it is launched. I
have tried this by setting the WindowState in the designer at runtime, and
have also tried executing
WindowState = FormWindowState.Normal
The form does open maximized but it does not correctly maximize to the
Windows taskbar...the bottom of the form is lost under the taskbar. If I
use the form control menu to set the form to normal and then back to
maximized, it correctly fits into the available desktop area, only going up
to the top of the taskbar. Any ideas why???
Also I want to stop the user setting the window state to normal - I either
want it maximized or minimized, but never normal. If the user
double-clicks the Window title it does set the window state to normal. Is
there an easy way to prevent this from happening???
Many thanks.