trichview.support
Re: Loading HTML at the current position |
Author |
Message |
Sergey Tkachenko |
Posted: 05/21/2004 23:38:15 RVHTML does not support inserting in the caret position. You need to load document in some hidden TRichView, then copy it to stream in RVF format, and insert the content of this stream at the caret position. RichViewActions (http://www.trichview.com/resources/actions/) do HTML insertion in this way. > I'm trying to load a HTML file so that the contents is loaded from the > current cursor position onward. I am doing the following: > > rhiHTMLImport->ClearDocument = false; > rhiHTMLImport->LoadHtml(fText); > rvvMessage->Format(); > > But this always inserts the content at the end of the document. > > Thanks, > > Etienne. > > |
Powered by ABC Amber Outlook Express Converter