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

Henry Vermaak henry.vermaak at gmail.com
Wed Apr 20 16:05:47 CEST 2011


On 20/04/11 14:51, Bernd wrote:
> Are there any other ways under GTK2 (or xorg?) to send a message to a
> window that simulates user interaction? I need to find some kind of
> workaround to wake up the GUI.

As I've noted before, PostMessage does wake up the main thread (when you 
compile your project with -dusecthreads).  And I use QueueAsyncCall with 
a manual wakeup, which works well for me on win32 and gtk2.  I use svn 
head, by the way.

Henry




More information about the Lazarus mailing list