获取c++ edit控件内容

CString str1,str2;
((CEdit*)GetDlgItem(IDC_EDIT1))->GetWindowText(str1);
((CEdit*)GetDlgItem(IDC_EDIT2))->GetWindowText(str2);

 

posted on 2014-10-03 11:59  iackjee  阅读(2072)  评论(0编辑  收藏  举报

导航