Disable Timer in Dialog

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 02/06/2005 at 08:28, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   8.207 
Platform:   Windows  ;   
Language(s) :     C++  ;

---------
My dialog can start a thread doing something, while it runs I use Timer to check it's status in a given interval. Ok, so before I start the thread, I use SetTimer to start the calling of Timer.
But after my thread ended, I don't need Timer to be called any more....how do I "unset" the timer? I can't see a function for that...not possible?

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 03/06/2005 at 09:37, xxxxxxxx wrote:

Hi,
Could'not find it either. I stopped searching the SDK and suppose that the timer is stopped when the dialog closes.
If you want to stop before that, You'll have a problem.
Regards,

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 03/06/2005 at 15:53, xxxxxxxx wrote:

Did you try SetTimer(0) ?

HTH,

Bitshifter

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 11/07/2005 at 07:34, xxxxxxxx wrote:

Just tested that, SetTimer( 0 ) works!