> I wonder if this is complicated by the nature of Fl_Spinner, though?
>
> It's a subclass of Fl_Group, with several widgets contained within it - I 
> imagine that belowmouse() is actually pointing to one of the inner widgets 
> contained within the Fl_Spinner...
>
> So, perhaps something like  ( belowmouse()->parent() == this) might be the 
> way to go.
>
> I'm assuming here that "this" will be the outer Fl_Group of the Fl_Spinner 
> whilst belowmouse() is pointing to one of the inner widgets inside the group 
> - that sort of thing...
>
> (I'm not on my own machines, and I have no compiler here to test this with!)
> --
> Ian


Thats it! Exactly. Thank you! :)
(belowmouse()->parent() == this) is true only when the pointer is over the 
widget! wohoo :)))

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

Reply via email to