I commonly disable a timer from within the OnTimer Event.. typically for one shot event type things. I am now trying to use it as a "lazy" load so when I load something in to a staging list I enable the TTimer. In the event handler I disable it, until another item(s) is added to the staging list starting the process over.
In Win32 XP (have not tried other Win OS) this work fine ... for the first loop. Once the timer is disabled in the event handler Windows seems to be broken for that event handler. I have traces the code into the LCL and the new timer is being creating with a valid handle, the LCL is creating the stub so it can find it in the callback, other timers work fine, but that timer is never callback in the API again.
I run it in OSX Lion and it works just fine.
Anyone seen this before?
Jim