// 追加文本到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