[Lazarus] PostMessage return value
Xiangrong Fang
xrfang at gmail.com
Fri Sep 19 14:48:33 CEST 2014
2014-09-19 18:23 GMT+08:00 Michael Schnell <mschnell at lumino.de>:
> On 09/18/2014 10:32 AM, Xiangrong Fang wrote:
>
> Unfortunately I do not get this working. When I instantiate TEvents
> instead of TCriticalSections (and don't do much with same) the GUI
> freezes. In fact I do this in the "OnCreate" Event of the main Form and
> (not always but mostly) no child components are shown (but the close button
> [x] of the form still works.
>
As far as I tried, you cannot use RTLEventWaitFor in main thread, otherwise
the gui will freeze. Don't know what you did...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20140919/6aefa931/attachment-0003.html>
More information about the Lazarus
mailing list