int nLen = m_edtOutputEdit.GetWindowTextLength ();
m_edtOutputEdit.SetSel (nLen,nLen);
m_edtOutputEdit.ReplaceSel (sMsg);