Page 1 of 1

[Done] AddWindowTimer(#Window, Timer, Timeout [, Repeats]) ?

Posted: Mon Aug 17, 2009 10:24 pm
by Rescator
Fred, any chance of a AddWindowTimer(#Window, Timer, Timeout [, Repeats]) ?

Reason for this is that i.e. using: AddWindowTimer(#Window, #Timer2, 1, 1)
would allow one off events.

Current methods involve using PostMessage etc. from a thread, or a mess of global vars.
But with something like this it would be all native, clean and simple.

Alternatively a TriggerWindowTimer(#Window, Timer)

Posted: Mon Aug 17, 2009 10:36 pm
by freak
Just use RemoveWindowTimer() as soon as the event fires and it won't fire again.