Al 21/04/2011 10:06, En/na Michael Schnell ha escrit:
On 04/20/2011 06:05 PM, Luca Olivetti wrote:
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,
Synchronize supposedly is blocked when there is too much GUI thread
activity and the appropriate event does not get handled. Maybe when
dragging a window GTK blocks in some event, which is 100% GUI thread
activity from the application's point of view.
with the timer there's no such problem.
IMHO, This kind of polling is not a good idea (but just a work around).
But of course you can't change what the GTK does when dragging a window :(.
with "under windows" I mean the win32 widgetset, not gtk.
Bye
--
Luca Olivetti
Wetron Automation Technology http://www.wetron.es
Tel. +34 935883004 (Ext.133) Fax +34 935883007
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus