> Now my question is: How can I bring _all_ windows of my > application on > top again by just clicking _one_ of the windows?
I've never actually tried that, but here's a very quick guess. Probably wrong...! I think that I would make a window subclass, and derive all my windows from that. This subclass would do a few extra things: - each window's constructor would also add a pointer to the window to some "expose" list (actually that mirrors to some extent the way fltk manages windows anyway...) - the destructor would remove the window from the "expose" list. - the handle method (and/or the show method) when it decides to raise any window, will run through all the entires in the "expose" list and call show on them (possible recursion there!) and ensuring the "active" window gets show() called on it last. That ought to result in all your windows getting raised, with the clicked one on top of the stack. Well, something like that, anyway... ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

