CWnd* h_d2 = AfxGetApp()->GetMainWnd(); //获取主窗口的句柄
h_d2-> GetDlgItem(IDC_EDIT2)->GetWindowText(strSend); //IDC_APOETRY_EDIT为编辑框的ID
转载于:https://www.cnblogs.com/xuandi/p/5362358.html
CWnd* h_d2 = AfxGetApp()->GetMainWnd(); //获取主窗口的句柄
h_d2-> GetDlgItem(IDC_EDIT2)->GetWindowText(strSend); //IDC_APOETRY_EDIT为编辑框的ID
转载于:https://www.cnblogs.com/xuandi/p/5362358.html