Hallo, does someone know how the functions first_window() and next_window() can be used to cycle through the application windows?
I have noticed that Fl::next_window(Fl::first_window()) behaves somewhat unexpectedly (to me): a) it only switches between the two topmost windows b) when only one window is shown, the call crashes I guess the problem is that first_window does not yield the topmost window, but always the first *created* window. Is there a function for getting the topmost window? And another question: is it possible to move to the previous_window rather than the next_window? I thoght that calling next_window() until first_window() is returned would do the trick, but it seems that next_window() does not return the next window when applied to the last created window. It seems to me that the documentation lacks the information what these functions actually return. Thanks, Christoph _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

