[Lazarus] SendMessage Bug Work Around.

Michael Schnell mschnell at lumino.de
Fri Apr 23 15:21:16 CEST 2010


On 04/23/2010 01:20 PM, David W Noon wrote:
> SendMessage() places a message on a message queue and waits for a
> return code from the WndProc or DlgProc that processes the message;
>   
That is clear to me after I found that SendMessage returns a value taken
from the receiving entity. But this seems quite obscure if the receiver
(in Windows) is another process.
> PostMessage() places a message on a message queue and returns
> to continue execution, without waiting for the message to be processed.
>   
That is clear, of course.
> This distinction can be very important.
>   
Obviously :).

-Michael





More information about the Lazarus mailing list