16,551
社区成员
发帖
与我相关
我的任务
分享void MyDialog::OnMyButtonClick()
{
::SetTimer(m_hWnd, 99999, 200, NULL);
//Do some operation here, need about 1 minutes. /* Line 2 */
}
void MyDialog::OnTimer(UINT_PTR nIDEvent)
{
// DoSomeOperation(); /* Line 1 */
CDialog::OnTimer(nIDEvent);
}