Timer

Timer is a tool to conduct periodic process. When you set the interval time of timer as 1000 [ms], it will revoke a certain function per each 1 second. Let's see how to enable and use it.

Prerequisite

To use timer function, you need create one of classes which inherit the CWnd class. These include CDialog, CdialogEx, CView, CFrameWnd classes. Here, we use