Evan Laforge wrote:
> Any other input out there?
I wanna see your handle() code.
If you're overriding handle(), you have to be sure to
(a) call the base class's handle(), and
(b) return correct 0 or 1 values from handle(),
or events won't be delivered right.
I'd suggest zeroing out your handle() method
so that it just prints the events and calls the base class, eg:
#include <FL/names.H>
:
class YourWindow : public Fl_Window {
:
int handle(int e) {
fprintf(stderr,"WINDOW %s: EVENT=%s\n", label(), fl_eventnames[e]);
return(Fl_Window::handle(e));
}
:
Then run that and see if the events look OK.
(If they look wrong, show us the problem + your code.
If you post code, make a simple short example that just opens
two windows and prints events)
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev