I have found that when I write to a Edit control box using a Cedit member (while updating with ReplaceSel)eventually the field stops updating.<br><br>void CFieldDlg::OnTestEdit() <br>{<br>char buf[1150];<br>int num=0;<br>for(int i=0;i<20000;i++)<br> {<br> num=num+1;<br> sprintf(buf,"%i",num);<br> m_edit.ReplaceSel("\r\n"<br> m_edit.ReplaceSel(buf);<br> }<br>}<br><br>**This will only update up to 4339, then the field "locks up".<br><br>When I use a Cstring member, the field will not update until the full routine is completed.<br><br>void CFieldDlg::OnTestString() <br>{<br>char buf[50];<br>int num;<br>int i=0;<br><br>num=5;<br>sprintf(buf,"%i",num);<br>m_string=buf;<br>UpdateData(FALSE);<br><br>Sleep(3000);<br><br>num=6;<br>sprintf(buf,"%i",num);<br>m_string=buf;<br>UpdateData(FALSE);<br>}<br><br>**Only '6' prints to the field. The 5 is not updated.<br><br><br>Can anyone help me with a real time, unlimited updating feature?<br>