Tooltips stops working

Posted on 2006-03-20
Last Modified: 2012-05-05

I have the following code:

            gpi.toolTip.InitialDelay = 500;
            gpi.toolTip.ReshowDelay = 100;
            gpi.toolTip.AutoPopDelay = 15000;
            gpi.toolTip.ShowAlways = true;
            gpi.toolTip.UseAnimation = true;
            gpi.toolTip.UseFading = true;
            gpi.toolTip.Active = true;
            gpi.toolTip.Tag = gpi;
            gpi.toolTip.Popup += new PopupEventHandler(toolTip_Popup);

            gpi.toolTip.SetToolTip(gpi.label, "NA");

        private void toolTip_Popup(object sender, PopupEventArgs e)
            if (bSetTooltipOnce) return;

            ToolTip tt = sender as ToolTip;
            GraphPaneItem gpi = tt.Tag as GraphPaneItem;

< here build the string to show at the tooltip >

                bSetTooltipOnce = true;
                tt.SetToolTip(e.AssociatedControl, text);
                bSetTooltipOnce = false;

The problem is that the tooltips works several times, but then stops working. A control which showed tooltips for one time or two, will stop showing it on the next attemps.

Why is that? How can I make the tooltip work always?

Question by:OhadA
    1 Comment
    LVL 8

    Accepted Solution

    That also happens in Windows System Tray area..
    Try to hover mouse above the clock and let the tooltip show.
    Don't move the mouse until the tooltip dissapear.
    Move the mouse around, and try to hover it above the clock again.
    Nothing happens?

    That's the scenario at my machine, which is, sadly, up to date with
    Windows' updates...

    If that's the same with you, then.. Oh well.. :) Let's just wait until
    it becomes an official bug in the Windows Bug List, and let us pray
    it will be solved quickly :)

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    Suggested Solutions

    RIA (Rich Internet Application) tools are interactive internet applications which have many of the characteristics of desktop applications. The RIA tools typically deliver output either by the way of a site-specific browser or via browser plug-in. T…
    Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
    An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
    In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now