nanogui: about timer in microwin


Previous by date: 24 Dec 2001 16:31:34 -0000 about QueueEvent, ylyuan.davform.com
Next by date: 24 Dec 2001 16:31:34 -0000 Re: about QueueEvent, Greg Haerr
Previous in thread: 24 Dec 2001 16:31:34 -0000 about timer in microwin, daniel wang
Next in thread:

Subject: Re: [nanogui] about timer in microwin
From: "Greg Haerr" ####@####.####
Date: 24 Dec 2001 16:31:34 -0000
Message-Id: <044c01c18c98$04cf59e0$3aba46a6@xmission.com>

: I wanna make a dynamic graphic program with microwin ,
: i use settimer to create the dyn-graphic,  30 frames on second,
: so the timer should be 33 ms, but i found the min timer in microwin
: seems to be 1000ms, can not be more quick.

The timer mechanism in Microwindows is in general accurate
to within 1ms.  However, in win32, timers are accurate only
to within 25ms.  The GetTickCount() function will have to be
specially modified to work in 1ms intervals, and your timeout
input to SetTimer should also be modified.

Regards,

Greg


Previous by date: 24 Dec 2001 16:31:34 -0000 about QueueEvent, ylyuan.davform.com
Next by date: 24 Dec 2001 16:31:34 -0000 Re: about QueueEvent, Greg Haerr
Previous in thread: 24 Dec 2001 16:31:34 -0000 about timer in microwin, daniel wang
Next in thread:


Powered by ezmlm-browse 0.20.