In the OnStarttime function, you first synchronize the variables with the control values,
allowing you to get the current setting of the m_iInterval variable. Next, you initialize
the m_iCount variable, setting it to 0, and then format the value in the m_sCount CString
variable, which is updated in the dialog window. The last thing that you do is to start the
timer, specifying the ID_COUNT_TIMER ID and using the interval from the m_iInterval
variable
In the OnStarttime function, you first synchronize the variables with the control values,allowing you to get the current setting of the m_iInterval variable. Next, you initializethe m_iCount variable, setting it to 0, and then format the value in the m_sCount CStringvariable, which is updated in the dialog window. The last thing that you do is to start thetimer, specifying the ID_COUNT_TIMER ID and using the interval from the m_iIntervalvariable
การแปล กรุณารอสักครู่..