Howard Rubin schrieb: > I'm used to windows where a call to DoModal() doesn't return until you > close the popped up window. Is there a way to do that in fltk?
void popup() { pWindow->show(); while (pWindow->visible() && Fl::check()) Fl::wait(); } This should work, when window can hide itself (by callback). But there is no advantage in doing it this way, kick you habit. _______________________________________________ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk