Hello all, I am deriving a widget from Fl_Scroll. The problem I am having is detecting when the user has used Fl_Scroll's scrollbars. My widget receives the FL_PUSH but does not receive the FL_RELEASE. However, the scrollbars are functioning as the view is scrolled accordingly.
I believe that the scrollbars returning 1 for the FL_PUSH. Then the fltk event mechanism is sending the FL_RELEASE directly to them (rather than via the parent hierarchy)? Am I right? Is there a way my derived widget can "know" when the scrollbars have been used? I would rather not reinvent the wheel (or scroll as it were) and derive from Fl_Group and have the widget manage its own scrollbars. Any ideas/tips would be greatly appreciated. -- Alvin _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

