OnItemMouseHover does not re-fire on last item in list.

  • Thread starter Thread starter Tom P.
  • Start date Start date
T

Tom P.

I have a listbox with items in it. I am custom drawing the popups so I
override the OnItemMouseHover method to do the painting. This works
fine.

The issue I have is when the user leaves the last item in the list by
moving the mouse down (off the bottom of the list of items). If they
do this the OnItemMouseHover method will not fire again when they re-
enter the last item. I can clear the popup paint using OnMouseMove or
OnMouseLeave but the event won't fire again.

Is there something I need to clear or reset to establish that the
event needs to re-fire?

Thanks for the help,
Tom P.
 
I have a listbox with items in it. I am custom drawing the popups so I
override the OnItemMouseHover method to do the painting.

I believe you mean list VIEW. The ListBox class has no ItemMouseHover event.
 
Back
Top