2006-12-01 Rolf Bjarne Kvinge <RKvinge@novell.com>
* MdiWindowManager.cs:
- Set form to active mdi child if shown,
and update the active mdi child to the next
remaining child in the z-order if the form is hidden.
* Form.cs:
- Track if the form has been visible and if its
visibility is beeing changed, so that the MdiClient
can properly decide the ActiveMdiChild. The MdiClient
cannot track this since the form can change visibility
before MdiClient is created.
* MdiClient.cs:
- Don't activate anything of the parent form is changing
its visibility.
- Rework ActiveMdiChild to only return visible mdi
children and take into account several other corner
cases.
svn path=/trunk/mcs/; revision=68836