[转]MFC 文本框 更新数据后拉到最下方显示最下面那行

int length=m_edit1.GetWindowTextLength();
m_edit1.SetSel(length,length);

也可以用
m_edit1.LineScroll(MAXINT_PTR);
原文地址:https://www.cnblogs.com/blueswitkey/p/3544974.html