((CEdit*)GetDlgItem(IDC_EDIT1))->SetSel(GetDlgItem(IDC_EDIT1)->GetWindowTextLength(),
GetDlgItem(IDC_EDIT1)->GetWindowTextLength());
((CEdit*)GetDlgItem(IDC_EDIT1))->ReplaceSel("追加文字\n");
//(IDC_EDIT1)是Edit Control的ID号
((CEdit*)GetDlgItem(IDC_EDIT1))->SetSel(GetDlgItem(IDC_EDIT1)->GetWindowTextLength(),
GetDlgItem(IDC_EDIT1)->GetWindowTextLength());
((CEdit*)GetDlgItem(IDC_EDIT1))->ReplaceSel("追加文字\n");
//(IDC_EDIT1)是Edit Control的ID号
相关文章: