> The general rule for dialogs is to use the following:
>
> mydialog->set_modal();
> mydialog->show();

 I had already tried that, but not the part...

> while(mydialog->shown())
>   Fl::wait();

 ... which solved the problem.

> Calling hide() from somewhere else will close it regularly.

 OK. Many thanks for the help.

  Regards,
             Z.B.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to