16,548
社区成员




void CGADDialog::_resetComboBox()
{
// DWORD dwStartTime = GetTickCount();
m_comBox.ResetContent();
CString cstrText;
for(int i = 0; i < m_nMaxGADCount; i++)
{
cstrText.Format(_T("%d"), i);
m_comBox.AddString(strText);
}
m_comBox.LimitText(4);
m_comBox.SetCurSel(0);
// DWORD dwEndTime = GetTickCount();
// cstrText.Format(_T("m_nMaxGADCount = %d, %dms"), m_nMaxGADCount, dwEndTime - dwStartTime);
// AfxMessageBox(cstrText);
}