I just tried something like this:

int handle(int event) {
        if (event==1) {
                Fl_Double_Window::show();
                Fl::grab();
        }
        return Fl_Double_Window::handle(event);
}

It brings the subwindow to front but it doesn't solve the click catching 
problem. Apparently, when shown, the hierarchy of the windows depends on the 
order that I added them to the main window. Can that be changed?
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to