Author: jackson
Date: 2006-06-30 03:00:49 -0400 (Fri, 30 Jun 2006)
New Revision: 62151
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiClient.cs
Log:
* MdiClient.cs: Don't bring the new child form to the front
* until
it is activated (setting it as active does this), this makes the
previously active forms titlebar get redrawn as inactive.
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-06-30 06:36:40 UTC (rev 62150)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-06-30 07:00:49 UTC (rev 62151)
@@ -3,6 +3,9 @@
* InternalWindowManager.cs: Remove some debug code.
* Form.cs: When an MdiParent is set to null, the window is
"detatched" and becomes a normal window.
+ * MdiClient.cs: Don't bring the new child form to the front until
+ it is activated (setting it as active does this), this makes the
+ previously active forms titlebar get redrawn as inactive.
2006-06-29 Peter Dennis Bartok <[EMAIL PROTECTED]>
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiClient.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiClient.cs
2006-06-30 06:36:40 UTC (rev 62150)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiClient.cs
2006-06-30 07:00:49 UTC (rev 62151)
@@ -61,7 +61,7 @@
throw new ArgumentException("Form must
be MdiChild");
}
base.Add (value);
- SetChildIndex (value, 0); // always insert at
front
+
// newest member is the active one
Form form = (Form) value;
owner.ActiveMdiChild = form;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches