Jason Cumiskey wrote:
> I am writing an application that contains one main window and when you
> select a specific radio button, I want a new, smaller window to pop-up
> and take user input.  While this is happening, I want the main window to
> be totally de-activated (users can't interact it with it at all). I
> tried calling set_modal() on the new window

that's okay

> and set_non_modal() on the main window

that's bad

>  but it doesn't seem to work.  I am running FLTK 1.1.9 on
> Ubuntu 9.10

You must not set non-modal() on the main window. It's strange,
but non-modal is another kind of modal (thanks to MS).

I think that you must call set_modal() before you show() the
window for the first time. Maybe you did it after show()?

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

Reply via email to