> > Fl_Window *win=new Fl_Window(x,y,w,h); > Fl_Box *box=new Fl_Box(x,y,w,h,text); > win->show(); > > (need it to show here without waiting too long) > > do lots of stuff that takes a long time and can't call wait() > > win->hide(); > > (need it to go away here without waiting too long) > > delete win; > > (maybe do other stuff without the wait()). > >
I got it good enough .. I do a loop of 10 calling fl::wait(0.001) after the show and hide and it works. _______________________________________________ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk