nanogui: Number of timers
Subject:
Re: [nanogui] Number of timers
From:
tj ####@####.####
Date:
22 Sep 2006 04:09:16 +0100
Message-Id: <451353D7.6060103@comcast.net>
Greg Haerr wrote:
>: I know that in order to reset a timer, you have to kill it and recreate
>: it, and of course you get a different ID number.
>
>No, you only have to KillTimer the timer when you want to
>change the timeout value.
>
>
>
>
How about when you are using the nano-X GrCreateTImer(wid, timeout) call?
>: So what happens when
>: you reach the end of ids?
>
>Well, if you pass a valid hWnd and timerID to SetTimer,
>then you can use that same value, rather than the ID
>value returned from SetTimer, which is only used when
>a NULL hWnd is passed.
>
>
>:I take it that the ID is an unsigned long?
>: Which means it can have 4,294,967,295 IDs before it runs out?
>
>Yes, but no need to worry because of the above
>
>Regards,
>
>Greg
>
>
>
>
Jeff