Hi, I'm maintaining an application that shows a toolTip in certain conditions on a userControl. (When the mouse is over some area a timer starts, when it stops, and the mouse is still there, the toolTip displays a text, by calling "Show(..)". This works fine. A different applicatiion is holding this app as an MdiClient. The toolTip now only shows when the application is not active: If the user opens a different application on the computer, "WORD" for example, and then returns to mine without clicking on it, holding the mouse on the right region, then the text is displayed. Otherwise, although the "Show" is called, the "Popup" event is never raised. Does anyone have an idea about how to solve this? Thanks, Tali.
A:
If I've understood the problem correctly, I think what you need to do is track when the window (which will show the tooltip) loses and gains focus. So when it loses focus, disable showing tooltips, then enable when it gains focus.
Jon Seigel
2009-12-17 16:50:24
Hi, thanks for your reply. My problem is that I need to show the tooltip when the application gains focus. I don't mind the tooltip showing or not when the application loses focus.
2009-12-20 08:38:43
I think I've misunderstood the problem. Could you please edit your question to clarify?
Jon Seigel
2009-12-20 17:37:48