Disable Resizable Form

  • Thread starter Thread starter FUnky
  • Start date Start date
Hi,
Using C# and Windows Forms, how do I disable the window resizable option?
I want my form to be fixed size only.
Thanks,
Janiv Ratson.
 
You can make the minimumsize the same as the maximum size and then set the
Maximizebox property to false. so when they double-click the titlebar it will
not maximize and since the min & max sizes are the same, if they dragged the
edge, they couldn't resize it.

good luck
 
HI !


If you are using Visual Studio.net 2003 then
You can change the (formborderstyle) Property of a Windows form to

fixed single
fixed 3d
fixed tollwindow
fixed dialog


Saif-ur-Rehman
Software Engineer
Mvp(Microsoft)
 
Back
Top