SetTimer and KillTimer

What does this API do?

Page 1 of 1

3 Replies - 14800 Views - Last Post: 09 November 2005 - 10:17 PM Rate Topic: -----

#1 born2c0de  Icon User is offline

  • printf("I'm a %XR",195936478);
  • member icon

Reputation: 180
  • View blog
  • Posts: 4,667
  • Joined: 26-November 04

SetTimer and KillTimer

Posted 08 November 2005 - 08:06 AM

Can anyone show me an example in VB on using the SetTimer and KillTimer API Functions? Also What do these API Functions do?
Thanks.
Is This A Good Question/Topic? 0
  • +

Replies To: SetTimer and KillTimer

#2 Amadeus  Icon User is offline

  • g+ + -o drink whiskey.cpp
  • member icon

Reputation: 248
  • View blog
  • Posts: 13,506
  • Joined: 12-July 02

Re: SetTimer and KillTimer

Posted 08 November 2005 - 08:16 AM

SetTimer instantiates a timer to a set time out...KillTimer deletes that timer which has been set.

SetTimer
KillTimer
Was This Post Helpful? 0
  • +
  • -

#3 WolfCoder  Icon User is offline

  • Isn't a volcano just an angry hill?
  • member icon


Reputation: 783
  • View blog
  • Posts: 7,610
  • Joined: 05-May 05

Re: SetTimer and KillTimer

Post icon  Posted 08 November 2005 - 11:15 AM

The message WM_TIMER (it might be different label in VB) is sent every milliseconds sent in SetTimer.

It's useful for simple animations (ect..) timegraphs...
Was This Post Helpful? 0
  • +
  • -

#4 born2c0de  Icon User is offline

  • printf("I'm a %XR",195936478);
  • member icon

Reputation: 180
  • View blog
  • Posts: 4,667
  • Joined: 26-November 04

Re: SetTimer and KillTimer

Posted 09 November 2005 - 10:17 PM

Thanks guys.

This post has been edited by born2c0de: 09 November 2005 - 10:18 PM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1