// 追加文本到EditControl
void InstmDebugMainDlg::AppendText(int controlId, CString strAdd)
{
    ((CEdit*)GetDlgItem(controlId))->SetSel(GetDlgItem(controlId)->GetWindowTextLength(),GetDlgItem(controlId)->GetWindowTextLength());
    ((CEdit*)GetDlgItem(controlId))->ReplaceSel(strAdd+L"\n");
}
 
 
MFC/C++ QQ交流群 322491983

相关文章:

  • 2021-06-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-05
  • 2022-01-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案