((CEdit*)GetDlgItem(IDC_EDIT1))->SetSel(GetDlgItem(IDC_EDIT1)->GetWindowTextLength(),

GetDlgItem(IDC_EDIT1)->GetWindowTextLength());
 ((CEdit*)GetDlgItem(IDC_EDIT1))->ReplaceSel("追加文字\n");

 

//(IDC_EDIT1)是Edit Control的ID号

相关文章:

  • 2021-08-28
  • 2021-06-09
  • 2021-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-08
  • 2021-10-24
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-03
  • 2022-01-29
  • 2022-12-23
  • 2021-04-27
相关资源
相似解决方案