also don't forget about the fact that people with logitech mice can still maximize your form, just add this code to make sure your form's not maximizedkulrom said:Just disable maximizeBox (set to false) and set its FormBorderSize to 'Fixed Single' ... this is the simpliest way to achive what you want![]()
'Form's resize event:
If Me.WindowState = FormWindowState.Maximized Then Me.WindowState = FormWindowState.Normal