Author: jpobst
Date: 2007-03-29 13:10:42 -0500 (Thu, 29 Mar 2007)
New Revision: 75163
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ToolTip.cs
Log:
2007-03-29 Jonathan Pobst <[EMAIL PROTECTED]>
* ToolTip.cs: Override the ToolTipWindow's ActivateOnShow property
to prevent tooltips from stealing focus from the active form on Windows.
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2007-03-29 18:03:15 UTC (rev 75162)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2007-03-29 18:10:42 UTC (rev 75163)
@@ -1,3 +1,8 @@
+2007-03-29 Jonathan Pobst <[EMAIL PROTECTED]>
+
+ * ToolTip.cs: Override the ToolTipWindow's ActivateOnShow property
+ to prevent tooltips from stealing focus from the active form on Windows.
+
2007-03-29 Everaldo Canuto <[EMAIL PROTECTED]>
* ThemeWin32Classic.cs: Small stetic fixes in notifyicon balloon.
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ToolTip.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ToolTip.cs
2007-03-29 18:03:15 UTC (rev 75162)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ToolTip.cs
2007-03-29 18:10:42 UTC (rev 75163)
@@ -145,6 +145,10 @@
}
#endregion // ToolTipWindow Class Protected
Instance Methods
+ #region Internal Properties
+ internal override bool ActivateOnShow { get { return
false; } }
+ #endregion
+
public void Present (Control control, string text)
{
if (IsDisposed)
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches