HWND logEdit = ::GetDlgItem(this->m_hWnd, IDC_EDIT_LOG); m_outputlogEdit.Attach(logEdit);
当CEdit是多行显示的时候
m_outputlogEdit.LineScroll(m_outputlogEdit.GetLineCount(), 0);