On 9 Oct 2009, at 19:49, Jonathan wrote: > I'm trying to create an MDI (had to learn what it means...).
http://en.wikipedia.org/wiki/Multiple_document_interface > I created a sort of "Dock" placed in the bottom of my main screen > and I use it to open most of the subwindows. I created a website so > you can get an idea of what it's all about: http://sites.google.com/ > site/robotstudyo/ Pretty. But I don't see why that has to be (or would want to be) MDI. I don't much care for the MDI idiom, I admit. The tool windows look like a classic use for non-modal windows, for what that is worth. A non-modal window with the border disabled would take you a long way, I suspect. >> Without looking at the FLTK code, I can't tell exactly, but I >> think that >> subwindows are not really instantiated if their parent is not >> shown yet. Maybe >> you don't need to show() them twice, but can call redraw() instead >> on your main >> window to achieve the same (or resize the main window), but that's >> wild guessing >> now. > > I tried resizing the window and calling show() once but still 2 > calls are required. I still suspect there is something awry in your widget hierarchy, though... _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

