Bug 27529 Tool Tip appears behind menu
authorDavid Moore <david_moore1@sil.org>
Sat, 28 Feb 2015 16:00:05 +0000 (11:00 -0500)
committerDavid Moore <david_moore1@sil.org>
Sat, 28 Feb 2015 16:00:05 +0000 (11:00 -0500)
In certain cases, hovering over a ToolStripMenuItem
that has a tool tip defined will result in the tool
tip appearing behind, and hidden by, the context
menu containing the item.  The change is to cause
the tool tip to be pushed to the front when it is
displayed.

mcs/class/Managed.Windows.Forms/System.Windows.Forms/ToolTip.cs

index e057b32fed810e1b9e4b78f325f1c0b73420c304..f8c38ba7ac70ce64f1338cb6a05405d08ae1cf23 100644 (file)
@@ -256,6 +256,7 @@ namespace System.Windows.Forms {
                                
                                Location = loc;
                                Visible = true;
+                               BringToFront ();
                        }