void CNowBibleDlg::clearEditContent() { m_Edit.SetSel(0,-1); m_Edit.Clear(); } FROM: http://blog.sina.com.cn/s/blog_6123f9650100nler.html