注意:需要先去掉只读属性, SetFocus(); SetReadOnly(FALSE); SetSel(0, -1); GetSel(lStart, lEnd); Clear(); SetReadOnly(TRUE);