Tooltip in ListView: MouseMove fires continuously in VS2005
-
There seems to be a problem in VS2005 (which was not present in VS2003) when a tooltip is assigned to a listview . If the mouse hovers over a blank area of the listview it works fine, but if it hovers over a populated row the tooltip shows very briefly and disappears. More seriously, a tooltip generates a MouseMove event when it disappears (even in VS2003), which causes real havoc in a program that uses the MouseMove event to set the tooltip text, because setting the text causes the tooltip to be redisplayed. When the cursor is over the blank area there is no problem, the tootip disappears after the AutoPopDelay time (usually 5 secs) and is immediately redisplayed (as in VS2003). When over a populated row however, because the tooltip disappears as soon as it is displayed, the resulting MouseMove event causes it to flicker madly - indeed the evnts are generated so fast that they can reenter and cause exceptions to be generated and the program to crash. I have been totally unable to find an acceptable workaround for this apparent bug on VS2005. Has anyone else come across this problem, and does anyone know of a workaround? Dave