[Lazarus] PostMessage return value

Michael Schnell mschnell at lumino.de
Mon Sep 15 14:54:13 CEST 2014


On 09/15/2014 02:34 PM, Sven Barth wrote:
> The synchronous alternative to PostMessage would be SendMessage, 
> though I don't know whether Lazarus provides this in a cross platform way
AFAIK, in Lazarus, SendMessage just directly calls the assigned event 
handling function, and hence usually is only allowed in the Main thread, 
if the event handling function does LCL calls.

-Michael




More information about the Lazarus mailing list