On 17 Jun 2008, at 21:30, Jane wrote:

>>      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.

Might be interesting to see if belowmouse() == this->parent(); I  
guess this->parent(); would be the window though, so not all that  
useful...



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

Reply via email to