How to stop a periodic timer

Describes how to stop a periodic timer.

To stop a periodic timer, call Cancel() . After the cancel, the CPeriodic may be started again, and so on until it is destroyed.

      
       
      
      iPeriodic->Cancel();