On 26.12.2007, at 14:29, Stan wrote:

> Before I try to reinvent the wheel, does anyone happen to
> have a way to make Fl_Scroll scroll vertically in response
> to the mouse wheel?


It does since version 1.1.0b1. The mouse has to be over the scroll  
group. It also supports horizontal scrolling if your mouse happens to  
have a horizontal wheel.

You can verify that the events work by opening the "keyboard"  
application. Rolling a wheel will also turn a wheel in the top right  
area.

Next you may test the "scroll" demo and see if that works.

The mouse wheel will first be sent to the widget under the mouse  
pointer. If that widget does not want the event (handle() returns 0),  
it will b resent to the group until some widget uses the event, or to  
be discarded if none takes it.

----
http://robowerk.com/


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

Reply via email to