View Full Version : Widget enter event

20th April 2008, 15:40
I have a problem with widget's enter event.

I have a small list of widgets.

When I click on the delete button of a widget and thus removing it from my list.
The following one pops under the cursor.

Unfortunately in that case Enter event is not called, since the mouse didn't really crossed the boundaries.

Any way to get a *real* enter / leave event ?

20th April 2008, 16:25
What do you need enter/leave events for? How do you react on an enter/leave event?

20th April 2008, 17:00
I need it for highlighting my widgets.

20th April 2008, 18:28
You can post an event yourself. If the mouse cursor doesn't move, the event won't be posted by itself.

20th April 2008, 22:40
I guess I should be using something like a hoover event or something like that...

Do you have a way of finding which widget is under the pointer ?

20th April 2008, 23:40
Yes, I do. Did you try searching through the docs?