Thanks All! Yet that's the reason, I actually miss a "return 1" in my new code, so...
Thanks for the help! Good luck gw > On 29/06/11 18:44, Albrecht Schlosser wrote: > > On 29.06.2011 07:23, goodwood wrote: > >> Hi Ben, thanks for your help, can you test this code under win7? (my fltk2 > >> package: fltk-2.0.x-r7513.tar.gz, compiled with mingw under windows) > > I compiled and ran your test program with current fltk2 svn (r8842) > > on Windows 7. If you want to receive mouse RELEASE (and DRAG) events > > you must make sure to return non-zero on the PUSH event (that's what > > you were missing). > > > Yes, as Albrecht stated you need to "use" the PUSH event > (fltk::Window::event(PUSH) returns 0 - Window has no use for a PUSH > event!). Because of this you won't receive the release event. For the > record, this provides the same results under my Ubuntu box - PUSH shows > up but RELEASE doesn't. > > HTH, > Ben > _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

