views:

67

answers:

1

I have the property "AutoPopDelay" set to 60000, but every time I hover over an associated element, the balloon only stays open for 5 seconds even when my mouse pointer stays over stationary over the element.

Any ideas on what could be causing this?

Edit: I am using WinForms

+2  A: 

Reading the documentation for the AutoPopDelay on MSDN (link) the maximum time you can delay a popup is 5000 milliseconds.

If you want a longer duration, use the Show method to control the exact moment when the ToolTip is displayed.

...

However, I believe that you are trying to cure the symptoms and not the cause of your problem if you need a ToolTip to stay open for that long. A tool tip is, by definition, is "a small box with contextual information about the item the user to pointing to". If the user is unable to read what the tooltip is trying to suggest in 5 seconds, then it is not really a "tip" but an entire chapter from the help file.

Dennis Roche
The documentation isn't accurate.
Hans Passant
@HansPassant: I thought that was the case as I've previously set that delay to be longer than 5 seconds. I'm currently checking Reflector to see what the actual behaviour is - I will update my answer.
Dennis Roche
Don't bother, this is behavior baked into Windows code. Can't see that with Reflector.
Hans Passant
@HansPassant: Ah OK. I won't bother digging further. Thanks. ... Regardless of the accuracy of the MSDN documentation, I believe trying to force the tooltip to be open for that long is the real issue and that alternative solution should be found.
Dennis Roche
I'm using: label1.Show("hi",this,60000); on the MouseHover even on label1, and I'm not seeing the balloon when I hover. Can you identify what I'm doing incorrectly?
Soo