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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top