BUG: Startup position changes in SDI if form has a menu (177089)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q177089 SYMPTOMS
If you are running Visual Basic 5.0 in SDI Development Environment mode and
have a form with a menu, the form's StartupPosition will be changed to "0-
Manual" when the form is run. This problem occurs only if the form has a
menu.
CAUSE
Menus are added to the form at run-time, which causes a form resize event
to occur. The resize event erroneously causes the StartupPosition to
change.
RESOLUTION
The only resolution available at this time is to not run Visual Basic in
SDI mode.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products
listed at the beginning of this article. We are researching this
bug and will post new information here in the Microsoft Knowledge
Base as it becomes available.
Modification Type: | Minor | Last Reviewed: | 12/6/2004 |
---|
Keywords: | kbbug KB177089 kbAudDeveloper |
---|
|