[Lazarus] LCL messaging system SendMessage and Multi-Threads

Zaher Dirkey parmaja at gmail.com
Fri May 7 17:59:02 CEST 2010


On Fri, May 7, 2010 at 6:47 PM, Michael Schnell <mschnell at lumino.de> wrote:

> When I said that the Windows documentation of PostMessage can be used, I
> did not think of the description of the messages to be sent by
> PostMessage. Same might be Windows-specific and in the LCL not ported
> (or portable) to Linux Widget Types like GTK. Here I suppose a
> documentation is lacking and thus only


As i understood  PostMessage

PostMessage put the message in queue, the message received by window proc,
so there is time between send this message and received, leave it to execute
the code inside the MouseDown event.

In Windows it is managed by the system, i am reading the thread for that.

"user message" can be used, that
> you receive in your own Pascal code (e.g. by procedure ... message).
>
> I know it is from old pascal.

Thanks
-- 
Zaher Dirkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20100507/848681c1/attachment-0004.html>


More information about the Lazarus mailing list