[Lazarus] Windows.PostMessage vs Application.QueueAsyncCall

Hans-Peter Diettrich DrDiettrich1 at aol.com
Tue Mar 18 09:57:01 CET 2014


Michael Schnell schrieb:
> On 03/17/2014 11:22 AM, Hans-Peter Diettrich wrote:
>> Michael Schnell schrieb:
>>> This is a Windowish left-over and really alien regarding the 
>>> OS-independent making  of the LCL (even though In fact the LCL even 
>>> simulates PostMessage in Linux.
>>
>> How would you handle keyboard and mouse input and painting in an 
>> application?
> AFAIK, this is not supported by the PostMessage implementation in the 
> LCL in Linux.

The LCL is based on the message queue, regardless of any OS or 
widgetset. PostMessage is part of the message queue.

> So it in fact is a  Windowish left-over.

You didn't answer my question: which other event handling model would 
you prefer, for use on any target and widgetset?

DoDi





More information about the Lazarus mailing list