Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
C# Helper...
 
XML RSS Feed
Follow VBHelper on Twitter
 
 
 
MSDN Visual Basic Community
 
 
 
 
 
TitleMake a form that can be maximized and minimized but not resized arbitrarily
DescriptionThis example shows how to make a form that can be maximized and minimized but not resized arbitrarily in Visual Basic 6. Set the form's BorderStyle to Fixed Single, and set MinButton and MaxButton to True.
Keywordsresize, no resize, prevent resize
CategoriesControls, Tips and Tricks
 
Thanks to Daniel Stroud.

Set the form's BorderStyle to 1 - Fixed Single. Set the form's MinButton and MaxButton properties to True.

The form can now be minimised and maximised, but not resized manually. You still have the option to change the size in code, but the user cannot.

 
 
Copyright © 1997-2010 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated