nanogui: Thread: about timer in microwin


[<<] [<] Page 1 of 1 [>] [>>]
Subject: about timer in microwin
From: "daniel wang" ####@####.####
Date: 24 Dec 2001 02:58:50 -0000
Message-Id: <002d01c18c26$350c29c0$0500c0a8@daniel>

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.

Is there any way to implement my target?

pls help me, thanks a lot!
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

[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.