[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-patches
Subject:    [Mono-patches] r62151 -
From:       "Jackson Harper (jackson () ximian ! com)"
Date:       2006-06-30 7:00:50
Message-ID: 20060630070050.71CAF9472C () mono-cvs ! ximian ! com
[Download RAW message or body]

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  <pbartok@novell.com>
 

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  -  Mono-patches@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-patches


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic