I trying to display own custom ToolTip with image, but the native ToolTip makes all bad. It still appears where it no needed.
I creating ToolStripButton in that way:
ToolStripButton btn = new ToolStripButton();
btn.Text = name;
btn.ToolTipText = null; //I also tried string.Empty, but no luck
What else I can do to disable it?
A tooltip control can be either active or inactive. When it is active, the tooltip text appears when the mouse pointer is on a tool. When it is inactive, the tooltip text does not appear, even if the pointer is on a tool. The TTM_ACTIVATE message activates and deactivates a tooltip control.
Try the following setting:
btn.AutoToolTip = false;
btn.ToolTipText = string.empty;
The note on the AutoToolTip property:
Set the AutoToolTip property to false to display custom ToolTipText on a ToolStripItem.
You can also disable all tooltips just go to toolstrip properties and then select False
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