Greg Ercolano wrote:
> Alvin wrote:
>>> I think Greg had a demo for this... Erm, maybe this one?
>>> http://www.seriss.com/people/erco/fltk/#DrawCoords
>> After posting my question I went straight to Greg's page. His example does
>> work, except I cannot see why my widget isn't receiving the FL_MOVE event.
>
> Most likely reason is in order to receive FL_MOVE, you have
> to return(1) in response to FL_ENTER.
I've posted STR #1867 to recommend the docs for FL_MOVE mention
this. Docs for FL_ENTER mentions it, but folks aren't likely to
look there for problems with FL_MOVE.
> In my example it works because Fl_Group (the widget I'm deriving from)
> does this already.
I'll modify my example to include a "case FL_ENTER: return(1);"
to make it clear, instead of relying on the behavior of Fl_Group.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk