BUG: Focus Doesn't Return to MDI Form After Modal Form Is ClosedLast reviewed: December 8, 1997Article ID: Q177163 |
The information in this article applies to:
SYMPTOMSAn MDI child form shows a second non-MDI form modally. The second form displays a message box (or another modal form). When you close the second form after dismissing the message box, the focus does not return to the MDI child form as expected. The focus returns to the MDI child form only when the second form does not display a message box (or a modal form).
RESOLUTIONTo work around this problem, set the focus to the MDI child form after you've shown the non-MDI child. The workaround is illustrated in the MORE INFORMATION section of this article.
STATUSMicrosoft 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.
MORE INFORMATION
Steps to Reproduce Behavior
Keywords : vb5all VBKBObj VBKBVB Version : WINDOWS:5.0 Platform : WINDOWS Issue type : kbbug |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |