void CJmmPDlg::OnPauseORContinus()
{
// TODO: Add your control notification handler code here
if(MemoryQueue.QueueEmpty())
return;
CString PorC;
GetDlgItem(IDC_PauseORContinus)->GetWindowText(PorC);
if(PorC=="暂停")
{
KillTimer(1);
GetDlgItem(IDC_PauseORContinus)->SetWindowText("继续");
}
else
{
SetTimer(1,m_timeslice*1000,NULL);
GetDlgItem(IDC_PauseORContinus)->SetWindowText("暂停");
}
}
{
// TODO: Add your control notification handler code here
if(MemoryQueue.QueueEmpty())
return;
CString PorC;
GetDlgItem(IDC_PauseORContinus)->GetWindowText(PorC);
if(PorC=="暂停")
{
KillTimer(1);
GetDlgItem(IDC_PauseORContinus)->SetWindowText("继续");
}
else
{
SetTimer(1,m_timeslice*1000,NULL);
GetDlgItem(IDC_PauseORContinus)->SetWindowText("暂停");
}
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货