Firstly, thank you all for your support.
@ Ian:
> if you mean another separate window,
yes, I mean another window which pops up when I click on the button.
Fl::first_window() is great for closing *all* windows, when the app quits.
Anyway I agree with both of you: I should mantain my own list, because the
windows could have more intricated relationships ('master'-> 'sub'-> many other
'subs' from 'sub').
@ Greg:
> It'd be best if your master window was a derived class from Fl_Window,
> and have your own hide() method that runs hide() on all the windows
> in your array,
that's a good idea, I don't know why I didn't think of it!
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk