How do I determine when to show a tooltip?
.net, c#, controls, tooltip, winforms
Solution
The time delay between Enter and Hover is specified in SystemInformation.MouseHoverTime.
If for some reason the built-in tooltip handling code for whichever UI framework you're using isn't sufficient, you could just spin up a Timer after each MouseMove and show a Tooltip when it fires. Obviously, you'd need to reset the Timer each time the mouse is moved to prevent a long series "rain of tooltips".
Problem
I'm writing a calendar control in .Net WinForms that will show a tooltip for each date. What's the best way to determine when to show the tooltip? Showing it immediately in `MouseMove` would make it get in the way, so I'd like it to show when the mouse hovers over each date cell. The `MouseHover` event only fires on the first hover after `MouseEnter`, so I can't use it. What's the best way to do this? EDIT:I'm using WinForms