Author: jpobst
Date: 2006-11-15 16:16:34 -0500 (Wed, 15 Nov 2006)
New Revision: 67950

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ComboBox.cs
Log:
2006-11-15  Jonathan Pobst  <[EMAIL PROTECTED]>

        [Fixes 78346]

        * ComboBox.cs: Set the Hwnd.no_activate flag for the ComboListBox.

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-11-15 20:46:29 UTC (rev 67949)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-11-15 21:16:34 UTC (rev 67950)
@@ -1,5 +1,11 @@
 2006-11-15  Jonathan Pobst  <[EMAIL PROTECTED]>
 
+       [Fixes 78346]
+
+       * ComboBox.cs: Set the Hwnd.no_activate flag for the ComboListBox.
+
+2006-11-15  Jonathan Pobst  <[EMAIL PROTECTED]>
+
        [Fixes 79433]
 
        * Hwnd.cs: Add a flag to show a window, but not activate it, to 

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ComboBox.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ComboBox.cs      
2006-11-15 20:46:29 UTC (rev 67949)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ComboBox.cs      
2006-11-15 21:16:34 UTC (rev 67950)
@@ -1565,6 +1565,9 @@
                                SetStyle (ControlStyles.UserPaint | 
ControlStyles.AllPaintingInWmPaint, true);
                                SetStyle (ControlStyles.ResizeRedraw | 
ControlStyles.Opaque, true);
 
+                               this.is_visible = false;
+                               Hwnd.ObjectFromHandle (this.Handle).no_activate 
= true;
+
                                if (owner.DropDownStyle == ComboBoxStyle.Simple)
                                        InternalBorderStyle = 
BorderStyle.Fixed3D;
                                else
@@ -1908,3 +1911,4 @@
        }
 }
 
+

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to