[Lazarus] Lazarus and Application.ProcessMessages

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Dec 7 22:12:42 CET 2014


On Sun, 7 Dec 2014 22:05:29 +0100
Mattias Gaertner <nc-gaertnma at netcologne.de> wrote:

> On Sun, 7 Dec 2014 16:50:10 -0300
> Flávio Etrusco <flavio.etrusco at gmail.com> wrote:
> 
> >[...]
> > > Also implemented in Lazarus.
> > > HandleMessage waits till the next message.
> > 
> > Unfortunately in Lazarus it doesn't (wait).
> 
> If it would not wait you would see 100% load in LCL
> applications.
> HandleMessage waits until a message is in the queue, calls
> ProcessMessages and returns.

Sorry. I was wrong.

It first calls ProcessMessages and then waits for next message.

Mattias




More information about the Lazarus mailing list