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

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.
 
J

Jeff Johnson

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top