直接使用GetDlgItemInt()  

CString strNum;
 m_LogDlg.GetDlgItem(IDC_DAYEDIT)->GetWindowText(strNum);
 strNum.Replace(_T(","), _T(""));
 m_MainSetting.m_dwM = _ttoi(strNum.GetBuffer(0));
 strNum.ReleaseBuffer();

相关文章:

  • 2021-06-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-14
  • 2021-06-11
  • 2021-08-29
  • 2021-12-10
猜你喜欢
  • 2022-12-23
  • 2022-01-30
  • 2021-06-17
  • 2022-12-23
  • 2021-10-28
  • 2021-10-03
相关资源
相似解决方案