CEdit多行插入
时间:2010-08-23 来源:世道
DWORD dwSel = ((CEdit*)GetDlgItem(IDC_EDIT1))->GetSel();
((CEdit*)GetDlgItem(IDC_EDIT1))->SetSel(dwSel, dwSel);
((CEdit*)GetDlgItem(IDC_EDIT1))->ReplaceSel(pWchar);
((CEdit*)GetDlgItem(IDC_EDIT1))->ReplaceSel(_T("\r\n"));
相关阅读 更多 +