[Lazarus] Sending messages

Michael Schnell mschnell at lumino.de
Mon Nov 28 09:38:54 CET 2011

On 11/26/2011 08:25 AM, zeljko wrote:
> Maybe he want to explain how and where PostMessage can be used in 
> multithreading environment, IMO this is important part since 
> PostMessage is thread safe and gives you ability to do calculating 
> stuff in threads and flood main thread with messages needed by your 
> app....

In fact the historical cause is that in Delphi programs the users use 
"PostMessage()" for that purpose, because "TThread.Queue()" (for reasons 
I don't understand) is existing for exactly this purpose, but missing in 
any document ion I know.

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

More information about the Lazarus mailing list