horn
asked on
Painting/Drawing problems
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().SetWindowTex t (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.
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().SetWindowTex
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you use the very fine full-text search commands and turn up nothing, you can be certain it doesn't exist.
.B ekiM
.B ekiM
ASKER
anywhere in the docs. FYI I *have* tried reading the online documentation -- but a lot of
it is non-intuitive, and pretty disorganized. I guess I should go buy Petzold or something.
Thanks.