I've got a .NET app with a NotifyIcon that sits in the systray. That nic has a ContextMenuStrip and that ctx mnu has several ToolStripMenuItems in it. Most of them have their ToolTipText set at run-time. The problem is that most of the time, the ttp pops up UNDER the mnu item. It will either be mostly or entirely obscured by the mnu item itself. Depending on where I move my mouse, sometimes the ttp pops up over the mnu and you can see it entirely, but most of the time it's not.
How it's even possible for a ttp to pop up under its control (thus rendering it useless) is beyond me, but does anyone know how to stop this behavior?
Here's the code that sets it. Pretty straight-forward:
Dim mnu As ToolStripMenuItem = ctmMain.Items.OfType(Of ToolStripMenuItem).Where(Function(m) m.Tag IsNot Nothing AndAlso m.Tag = "EM_" & Account).First
mnu.ToolTipText = dt.Rows(0)("Display")
I've tried cycling ShowItemToolTips on the ctx mnu (and a few other random things), but nothing changes this behavior. I either need to fix this, or find some simple alternative to the ToolStripMenuItem.ToolTipText.