BUG: MDIChild Form Not Brought to Front with Show Method
Article ID: 168850
Article Last Modified on 12/10/2003
APPLIES TO
- Microsoft Visual Basic 5.0 Control Creation Edition
- Microsoft Visual Basic 5.0 Learning Edition
- Microsoft Visual Basic 5.0 Professional Edition
- Microsoft Visual Basic 5.0 Enterprise Edition
This article was previously published under Q168850
SYMPTOMS
When the Show method of an MDI child form is invoked, the MDI child form is
not brought to the front.
RESOLUTION
To ensure that the correct window is brought to the top, use the ZOrder
method. Replace the Show method with the ZOrder method.
In other words, you would replace the following line of code:
Form1.Show
with:
Form1.ZOrder
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.
Additional query words: active activated focus
Keywords: kbbug KB168850