> Jane wrote: > > if (ev == FL_MOUSEWHEEL && this == Fl::belowmouse()) > > [..] > > It never enters the if(). Is there no FL_MOUSEWHEEL event for spinners? > > Try printing out the values in the if() statement with printf(). > See what the value of ev, FL_MOUSEWHEEL, and "this" and > "Fl::belowmouse()" > are to see if you're getting what you expect.. >
ev is 19 (should be 19 (FL_MOUSEWHEEL)), but this and Fl::belowmouse() differ. Not sure what Fl::belowmouse() points to, probably the window itself. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

