Form with a Menu Is Not Sizable During Run TimeLast reviewed: February 1, 1996Article ID: Q143312 |
The information in this article applies to:
SUMMARYA form in a 16-bit or 32-bit Visual Basic application with the BorderStyle property set to "5 - Sizable ToolWindow" and that includes a hidden or visible menu is not sizable during run time. If a status bar is added to this same form in 32-bit Visual Basic, then it (the status bar) can be re-sized; however, the form still cannot be resized. This behavior is by design and controlled by the operating system.
MORE INFORMATIONThe expected result of setting the border style (5 - Sizable ToolWindow) of a form is that the form should always be sizable or that this border style should not be available as a selection if a menu is added to the form. Documentation of this border style does not explain this behavior when a menu item is present.
Steps to Re-create
noticeable, but the status bar has a size handle at the bottom right which allows it to be re-sized. |
Additional reference words: 4.00 vb4win vb4all
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |