Hmmm, there seems to be some additional factor
at work here.

First, let me change Sanel's example slightly, to
match my original problem:
>
> int main() {   // added 1st 3 lines
    Fl_Double_Window normal(300, 300);
    normal.end();
    normal.show();
>   MyWin win(200, 200);
>   win.show();
>   Fl::flush();
>   Fl::grab(&win);
>   return Fl::run();
> }
>

And (drum roll please) it still works!

Now, make MyWin derive from Fl_Double_Window instead
of Fl_Window.  As in my original example, events outside
the window borders are not recognized.

Well if nothing else I now have a work-around.
Thanks again,
Stan
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to