On Jul 20, 2007, at 6:41 PM, Greg Ercolano wrote:

>       Also, I'm not sure if it's the intention to leave Fl::grab()
>       in effect after the window's been hide()en, so I figure it
>       makes sense to call Fl::grab(0) just before the hide().
>
>       If I don't do this, when I hit a key to make the grab window
>       go away, the second window remains fairly 'dead' to all events,
>       probably because the Fl::grab() is still attached to the
>       hidden window.

Yes, that is correct. Fl::grab stays in effect even after the window  
is hidden. It is important to grab(0) *before* hiding the window.

The event handler changes you added earlier aare also essential. They  
might make the difference in getting the Double_Window to work... .

----
http://robowerk.com/


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

Reply via email to