Friday, July 31, 2009

How do I disable resizing in my visual basic application?

I need the code to add to my form to disable resizing/maximizing the application.

How do I disable resizing in my visual basic application?
in the form properties window, set the Minimize button and maximize button properties equal to false.





Save the current form size to the registry, and in the form_Resize event, you can read the registry to get the old size back, and set it back to the old size.


No comments:

Post a Comment