Search code examples
c#tooltipballoon-tip

How do I make a tooltip point at a specific label in C#?


In my application I want to use a tooltip to point at a label to get the users attention:

toolTip.IsBalloon = true;
toolTip.Show("message", label1);

The problem is that the balloon isn't pointing at the specified label. What should I do?


Solution

  • This is a known bug.

    Try calling it twice for a hack work-around:

    toolTip.Show(string.Empty, label1, 0);
    toolTip.Show("message", label1);