My code as follows, to run the program did not show, could you tell me how to modify the
void CMyDialog: : OnTimer (UINT_PTR nIDEvent)
{
//TODO: add the message handler code and/or invoke the default
CDialog: : OnTimer (nIDEvent);
The switch (nIDEvent)
{
Case IDT_TIMER_MEMORY:
{
The static char szMemoryUsage [20].
: : GlobalMemoryStatus (& amp; M_ms);
Sprintf_s (szMemoryUsage, memory usage: % u % %, m_ms. DwMemoryLoad);
MyDialog. M_DlgTab2. M_csMemoryStatus=szMemoryUsage;
The UpdateData (FALSE);
}
break;
}
}
CodePudding user response:
The static text control LTEXT, associated m_csMemoryStatus
Instead of
Not allowed to enter the EDITTEXT, associated CEdit variable
?
CodePudding user response: