Hi Gary!
Since you let me know about the problem with using API GetActiveWindow to get the active window's handle, I decided to investigate this issue.
I went back to Callum Lowcay's original version and I found out that Callum was actually using a very different method to get the handle. So I re-inserted Callum's original code and uploaded a corrected WinX.x in SourceForge.
Could you please download this new version of WinX.x in your computer and tell me if it fixes the timer issue?
Bye! Guy
Here is the code in function WinXDoEvents:
MSG messages ' will be sent to the active window callback function when an event occurs
__________________________________________________________________
' hWnd = GetActiveWindow ()
' IFZ hWnd THEN DO DO '
fail
hWnd = XLONGAT(&messages)