I am manually displaying a System.Windows.Forms.Tooltip on a control using the show method, but how can I detect if a tooltip is currently shown?
If I need to change the method for showing it to find out, that is fine.
You could try ToolTip.GetToolTip(control), and check if the returned value is not an empty string, like this:
if (!string.IsNullOrEmpty(myToolTip.GetToolTip(myControl))) { // Victory! }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With