[转]MFC 文本框 更新数据后拉到最下方显示最下面那行 int length=m_edit1.GetWindowTextLength();m_edit1.SetSel(length,length); 也可以用m_edit1.LineScroll(MAXINT_PTR);