On 08/08/2011 07:26 PM, Juan Sánchez wrote:

 But only in Windows. In Mac main window is blocked.

Windows uses messages to notify a running thread about a GUI event, so multiple GUIs per thread (even if IMHO not supported by the LCL) are possible in theory.

With Linux and Mac the GUI uses a blocking function returning when an event happens, so only one GUI instance per thread is possible.Using a thread per GUI in theory could help (only with multiple instances of the LCL GUI stuff).

-Michael

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to