[Lazarus] Message Loop paused when no interaction with mouse?

zeljko zeljko at holobit.net
Wed Apr 20 18:27:11 CEST 2011


On Wednesday 20 of April 2011 18:05:24 Luca Olivetti wrote:
> Al 20/04/2011 15:51, En/na Bernd ha escrit:
> > What exactly does the TTimer do when it fires its event? The TTimer
> > seems to have the power to wake up the GUI, maybe I can do the same
> > manually?
> 
> I don't know, but I've been using for a long time a 10ms timer that just
> does CheckSynchronize:
> under windows when you're dragging a windows it seems that the main loop
> doesn't fire, so Synchronize calls are blocked, with the timer there's
> no such problem.

Please test with lazarus r30403 if it works without timer. Now, 
QueueAsyncCall() calls WakeMainThread

> 
> Bye




More information about the Lazarus mailing list