The information in this article applies to:
SYMPTOMSIf there are two MDI child forms that contain (visible) controls, and one of the forms is maximized and then closed, the visible properties for any controls on the remaining MDI child form will report False from the Resize event of that form. CAUSEWindows hides the MDI client briefly during a restore or close of a maximized MDI child. As a result, the other child form underneath the just closed child is indeed invisible. The status of the other MDI child form's controls is thus just being correctly reported. RESOLUTIONThis is a limitation of the implementation of MDI forms. However, to check the other MDI child form controls' Visible properties correctly, a timer control (with its Enabled property set to False at Design Time) can be enabled from the resize event of this other MDI child form. Checking the value of the control's Visible property from the timer event should result in a value of True. STATUSThis behavior is by design. MORE INFORMATIONSteps to Reproduce Behavior
Additional query words: 4.00 hidden vb4win vb4all
Keywords : |
Last Reviewed: January 25, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |