sorry I forgot:
*If the event queue is empty, **CheckSynchronize w**aits for an event to be pushed by a TThread or for /timeout/ Milliseconds to pass. If timeout is 0, it waits forever.*
(Of course it should be documented whether or not the function returns if some events have been handled but the timeout did not hit. I don't know if this is the case.)
-Michael
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel