> You CAN NOT create any new windows from the "child" threads, and this
> includes any widget that derives from Fl_Window or uses it's own private
> window (e.g. the fl_ask style dialog boxes etc...)
> <snip>
> Anyway, if you need to create new windows or etc from a child thread,
> use the awake callback mechanism, that allows you to (in effect) have
> the main thread run a callback for your child threads, allowing for
> window creation/deletion etc without breaking the underlying OS
> implementation.
>

Well, that will be a problem.  I definately have a need to pop up modal dialog 
(message box) in the other thread.  Do it in Windows (Win32 API) all the time 
with no issues.  I could do the awake thing and have it do the fl_choice or 
fl_input, but I need to get the result and wait on it.  Is there a built in 
method for that or am I going to have to setup my own mutexes?

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

Reply via email to