Under the properties there's "MaximizeBox", change it to false. That will grey the maximize icon out. then use me.windowstate = formwindowstate.maximized in your onclick.
If you set the 'MaximizeBox' property of a form to False, this also disables the double-click on the titleBar maximize.
I'm using VS2002, but I wouldn't think this would change with 2003.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.