> I have been using fltk for a few years now but oddly enough I > just recently noticed that whenever a menu is opened, the > main thread stops running until the menu is released. > > I am using my own main loop which does the regular stuff: > fl::check, update world, draw, etc. > > Other threads started by me seem to continue to do their > work, but the main one blocks. Almost as if the menus where > modal windows like fl_ask. Is there a way around this because > I just noticed it is really annoying.
In effect, menus *are* modal windows. It may not be easy to avoid this, as some of that behaviour is platform specific - some host platforms just do that, others don't, so you may find the behaviour of your app varies across paltforms. There's not an awful lot we can do about that, either, I suspect. It is a problem. SELEX Sensors and Airborne Systems Limited Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

