trichview.com

trichview.support




Re: How many items inserted by InsertRTFFromStreamEd?


Return to index


Author

Message

Sergey Tkachenko

Posted: 06/11/2004 23:23:51


The upper bound is a caret position after the insertion


> Hi Sergey,

>

> Let's suppose I insert RTF text to TRichViewEdit control. After that I

want

> to perform post-processing, for example change some attributes of some

> items. For that I need to know bounds of just inserted text. Lower bound

> (number of the first item) is no problem - this is lower bound of the

> selection prior to InsertRTFFromStreamEd, but I don't know how to

calculate

> upper bound (number of the last item inserted)? Any known techniques?

>

> Best regards, Andrew Chichlowski.

>

>





Powered by ABC Amber Outlook Express Converter