绑定控件
HWND logEdit = ::GetDlgItem(this->m_hWnd, IDC_EDIT_LOG);
m_outputlogEdit.Attach(logEdit);
滚动到最新一行
当CEdit是多行显示的时候
m_outputlogEdit.LineScroll(m_outputlogEdit.GetLineCount(), 0);
时间: 2024-11-06 11:09:22
HWND logEdit = ::GetDlgItem(this->m_hWnd, IDC_EDIT_LOG);
m_outputlogEdit.Attach(logEdit);
当CEdit是多行显示的时候
m_outputlogEdit.LineScroll(m_outputlogEdit.GetLineCount(), 0);