[Lazarus] PostMessage return value

Michael Schnell mschnell at lumino.de
Mon Sep 15 11:12:41 CEST 2014

On 09/14/2014 04:19 AM, Xiangrong Fang wrote:
> 1) PostMessage is defined in winapih.inc, altough I confirmed using a 
> simple test program that it also work under linux.

But it's old-style Windowish stuff.

For better clearness, flexibility and portability I would use 
Application.QueueAsyncCall instead (Or TThread.Queue, if you are on the 
svn Version of fpc and would like to do it Delphi-compatible).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20140915/95968a22/attachment-0003.html>

More information about the Lazarus mailing list