> (Newbie): I am trying to output status and diagnostic information to a
> CEditView Window and allow users input annotations to the same window. The
> User input is handled by Windows. How do I output to the window? How do I
> ensure that program output is appended to existing text? DrawText erases
> the
> screen and outputs to (0,0). What is the magic? (Please)
You shouldn't be drawing text on the CEditView window.
Instead, you can use CEditView::GetEditCtrl() to get the edit control
(CEdit) associated with the CEditView.
With the CEdit object, you can use its methods to insert text into the
control.
Mark

Signature
Mark Salsbery
Microsoft MVP - Visual C++
> skidmarks
skidmarks - 22 Apr 2008 22:04 GMT
Mark;
Thank you. I misspoke when I said that I write to a CEditView window. I
actually use the <CEditCtrl>.SetSel and <CEditCtrl>.ReplaceSel methods to
write.
Thanks
skidmarks