Re: Getting FL_ENTER/LEAVE with Mouse down!

Steve Lamont (
Mon, 21 Apr 97 09:11:23 PDT

To subscribers of the xforms list from (Steve Lamont) :

> How do I go about getting FL_ENTER and FL_LEAVE events on objects
> *with* the mouse button pressed or not.

I'm not sure you can directly. You may need to trace motion events
and check the current mouse position against the geometry of your
objects. You wouldn't need to search your entire list of objects if
you kept them in a positionally sorted list and kept track of the last
object the cursor was in.

I've thought about doing something similiar to this to kluge a menu
bar that operates more like the Maggotbox (or most other Menu bars,
for that matter) but have not gotten around to implementing it.

To unsubscribe, send the message "unsubscribe" to or see
Xforms Home Page:
List Archive: