BUG: Form Falls to Background When MsgBox Appears (189741)
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 Q189741 SYMPTOMS
When a project has two or more visible forms and a message box is
displayed, one or more forms fall to the background, possibly behind other
forms. This behavior did not occur in Visual Basic version 4.0.
CAUSE
This problem occurs when a MsgBox is displayed from a form that has the
following properties set:
ShowInTaskBar = False
BorderStyle = 3-FixedDialog
RESOLUTION
Change the ShowInTaskBar property to True or the BorderStyle property to
something other than 3-FixedDialog.
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: | Major | Last Reviewed: | 5/13/2003 |
---|
Keywords: | kbbug KB189741 |
---|
|