How to force multiline edit box to keep bottom line visible after its update?
Create new class CEditEx derived from CEdit. Override DefWindowProc() for this new class as shown below.
Change type of your edit control member from CEdit to CEditEx. This works both for SetWindowText() and UpdateData(FALSE) methods.