最简单直观的:CString str;GetDlgItemText(IDC_EDIT_TEST, str);int d=atoi(str.GetBuffer(0));更优雅的:.h:int m_editTest;.cpp:v...
2016-06-07 13:37:56
最简单直观的:CString str;GetDlgItemText(IDC_EDIT_TEST, str);int d=atoi(str.GetBuffer(0));更优雅的:.h:int m_editTest;.cpp:v...