[Lazarus] SendMessage Bug Work Around.

John vd Waeter john at jvdw.nl
Fri Apr 23 11:58:46 CEST 2010


AFAIK: In Windows

PostMessage puts a message in the queue and returns immediately.

SendMessage puts the message in the queue and returns with a result 
after the message has been handled.

But I might be wrong...

John

Michael Schnell wrote:
> I now found that SendMessage provides a Result, while PostMessage only
> returns a success flag. So they are less similar than I thought (and the
> Windows API definition is still more cryptic :( )
> 
> -Michael





More information about the Lazarus mailing list