>       The subwindow is not hidden. eg. try adding:
[..]
>
>       I believe only parent windows have to be show()n to be seen.
>       All others (subwindows/groups/widgets) are all shown   automatically.

Fair enough, thanks.
But, make this change and you'll still see plenty of events.

int main()
{
    TestWindow win(300, 300, "Main");
    TestWindow sub(50, 50, 100, 100, "Sub");
    sub.end();
    sub.hide();        ////   <== Add this
    win.end();
    TestWindow::sub_ = &sub;
    win.show();
    return Fl::run();
}

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to