Valhalla Legends Archive

Programming => General Programming => Topic started by: Lenny on May 13, 2004, 09:28 PM

Title: Regarding SetTimer
Post by: Lenny on May 13, 2004, 09:28 PM
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?
Title: Re:Regarding SetTimer
Post by: Eric on May 14, 2004, 02:16 AM
The timer will be reset and replaced with the new value(s).