trichview.com

trichview.support




Re: GetSelectionBounds conversion.


Return to index


Author

Message

Sergey Tkachenko

Posted: 09/18/2002 21:32:39


The problem is how to convert richedit coordinates to RichView coordinates?

http://www.trichview.com/resources/syntax/syntaxrichviewedit.zip - this

component by Igor Afanasyev shows how to do it (SetSelBounds method).

(some changes are required to work with Unicode text)



> I am currently porting an application from VB. This app stores selected

> regions of an rtf file in the format of [start of selection], [length of

> selection]. Is there a way that I can convert this information to the

> coordinates used by Set/GetSelectionBounds in RichEditView?

>

> Any help appreciated.

> Thankyou.

>

> Lee Jones

>

>





Powered by ABC Amber Outlook Express Converter