UpdateData(true); //读取编辑框内容,只要建立好控件变量后调用这个函数使能,系统就会自动把内容存在变量里
//这里我给 Edit Control 控件创建了一个CString类型、Vale类别的变量 Send_Data
int a; a= _ttoi(Send_Data);//把CString类型转换为int

 

相关文章:

  • 2021-12-18
  • 2022-12-23
  • 2022-12-23
  • 2022-02-16
  • 2021-11-13
  • 2022-12-23
  • 2022-12-23
  • 2022-02-22
猜你喜欢
  • 2021-08-20
  • 2021-12-23
  • 2022-12-23
  • 2021-09-04
  • 2022-12-23
  • 2022-01-29
相关资源
相似解决方案