用SetDlgItem(ID,"",...);将编辑框的字符设置为""空字符串就行了。或者关联变量直接:C/C++ codeSetWindowText(_T(""));
m_edit.SetWindowText("");m_edit.SetFocus();
m_edit=""SetFocus()