Hello all,

I am trying to display the coordinates of the mouse during a FL_MOVE event.
But the problem is, my widget never sees the FL_MOVE event!?

I have a widget that extends Fl_Scroll. Basically this widget allows the
view to be scrolled my dragging the contents around with the mouse.

What I would like to do is for one of the widgets inside my Fl_Scroll to act
on the FL_MOVE event (show the coords of the mouse). However, the widget
never receives a FL_MOVE event. The widget does get, FL_PUSH, FL_ENTER,
FL_LEAVE...just not FL_MOVE.

I tried catching a FL_MOVE event in my FL_Scroll before doing anything with
the event (i.e. passing it up to Fl_Scroll, etc.) but it seams it doesn't
get the FL_MOVE event either.

I tried returning 1 for FL_ENTER but that doesn't seem change anything.

Anyone have any ideas? Has a similar issue happened to anyone else? I
suspect the solution is trivial, but I just can't see it for some reason.

Thanks.

-- 
Alvin
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to