Click to See Complete Forum and Search --> : HTML CEditView


Todd Casey
April 26th, 1999, 09:44 AM
I have started a little project using MFC. I have a project using the CEditView and it's going to be a little html type editor. If you select text and choose the proper menu item or toolbar button it will add the proper tags to the selection. That part works fine. What I am trying to do now is when a new document is created I want to add the default html tags. Where do I do this at? Is it in the View class and on what message? Is the best way to do this to just use a ReplaceSel or is there a TextOut type operation for the CEditView? My other problem is I want the default html tags to have carriage returns between them. How do I print a '\n' to the CEditView? I would greatly appreciate any help anyone could give me. Thanks.

Todd Casey
todd@jack-bilt.com