[Lazarus] Lazarus and Application.ProcessMessages

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Dec 8 10:20:34 CET 2014


On Mon, 08 Dec 2014 10:03:15 +0100
Michael Schnell <mschnell at lumino.de> wrote:

> On 12/07/2014 10:05 PM, Mattias Gaertner wrote:
> > HandleMessage waits until a message is in the queue, calls 
> > ProcessMessages and returns.
> 
> Does it wait up as well when some Event is pushed upon the GUI queue (in 
> Windows a Windows message occurs, in Linux a Lazarus Event), as when an 
> Event happens for the TThread "Synchonize"  Event Queue in the fpc RTL ?

Yes. 
And as I corrected myself: It first processes messages and then
waits.
BTW, TThread.Synchronize is hardly a queue.

 
Mattias




More information about the Lazarus mailing list