nanogui: Timer API.


Previous by date: 2 Feb 2000 17:19:30 -0000 Re: Timer API., Kyle Harris
Next by date: 2 Feb 2000 17:19:30 -0000 Re: Truetype fonts, Greg Haerr
Previous in thread: 2 Feb 2000 17:19:30 -0000 Re: Timer API., Kyle Harris
Next in thread: 2 Feb 2000 17:19:30 -0000 Re: Timer API., Greg Haerr

Subject: Re: Timer API.
From: "Greg Haerr" ####@####.####
Date: 2 Feb 2000 17:19:30 -0000
Message-Id: <042e01bf6da0$261d1ba0$15320cd0@gregh>

: I need to have some timers in my application. 
: 
: What is the API ?
: 
: Does anyone have an example ?

The timer API is SetTimer() and KillTimer(), which sends
a WM_TIMER message to your window procedure.  I would
prefer to add this, since it's a little tricky.  I've been meaning to 
add it for some time.  

Basically, we will use the select() timeout value in order to delay for
a next-timeout minimum value, then, if a timer is expiring, send a WM_TIMER
message and remove it from the queue.

I can probably get this in quickly, but you're welcome to take
a hack at it.

Regards,

Greg


Previous by date: 2 Feb 2000 17:19:30 -0000 Re: Timer API., Kyle Harris
Next by date: 2 Feb 2000 17:19:30 -0000 Re: Truetype fonts, Greg Haerr
Previous in thread: 2 Feb 2000 17:19:30 -0000 Re: Timer API., Kyle Harris
Next in thread: 2 Feb 2000 17:19:30 -0000 Re: Timer API., Greg Haerr


Powered by ezmlm-browse 0.20.