Valhalla Legends Forums Archive | General Programming | Regarding SetTimer

AuthorMessageTime
Lenny
Every time the SetTimer() (an API) method is called it creates a new timer...
One of its arguments is nIDEvent which identifies the timer....

If I were to call SetTimer with the same nIDEvent:

Would it create a new timer?
And would the old timer remain inactive in memory?

OR

Would it goto the already created timer and adjust its parameters accordingly?
May 14, 2004, 2:28 AM
LoRd
The timer will be reset and replaced with the new value(s).
May 14, 2004, 7:16 AM

Search