CWnd* h_d2 = AfxGetApp()->GetMainWnd(); //获取主窗口的句柄
h_d2-> GetDlgItem(IDC_EDIT2)->GetWindowText(strSend); //IDC_APOETRY_EDIT为编辑框的ID

05-06 02:43