How you are adding elements to subwindow? Did you call parent's end() after subwindow was created?
Can you put some small working example that reproduce this behavior? Sanel On 01/24/2013 05:09 PM, Daniel Fournier wrote: > Hi there, > > I'm using FLTK and FLUID (1.3.2) to reorganise a complex sound synthesis > software. I use two main windows launched at start, each one giving access > (via a graphic menu) to a lot of other subwindows beeing shown by the > FL_Widget::show() and hide() methods. > I have strictly the same kind of code in the two main windows: a tab-like > succession of subwindows (Fl_Group subclasses of my own), each having a make > window method calling Fl_Window as the root widget containing groups, buttons > and so on. > > The content of the first main window is correctly shown, but in the other, > one of the subwindows remains invisible, whatever I put inside, in any order > (first, last or else). > > That invisible subwindow returns a Fl_Widget::parent()=0, which should not > be, because it's inside the top level window. The Fl_Widget::visible_r() > method returns 1 for any of the widgets inside it, indicating it should be > drawn. > > As far as I can see, there is nothing special inside that subwindow, > preventing it to being visible (that content was previously inline inside the > main window. > > I've no workaround to this weird behavior and would greatly appreciate any > possible help. > > D. Fournier > ---------------- > Opensuse 12.2 KDE, FLTK 1.3.2 > _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

