Posted on 1998-03-23
I don't really know the difference between what WM_PAINT does and what WM_DRAW does, and this is
causing some trouble. I have an application with a CEditView and I have a string of text that I am trying to
print to it. I would like the screen to be cleared before I print a new string. I tried to do this by using
GetEditCtrl().SetWindowText (NULL), but the text disappears immediately after printing. I am using GetEditCtrl().SetSel and ReplaceSel to print the text. I think this has something to do with the window painting,
but i don't know how to stop this.
I think this probably has an easy answer. If it turns out not to, I will offer more points.