trichview.com

trichview.support




Re: GetSelectionBounds conversion.


Return to index


Author

Message

Lee Jones

Posted: 09/19/2002 3:47:39


That looks like it is exactly what I needed.

Thankyou kindly.

Lee



"Sergey Tkachenko" <[email protected]> wrote in message

news:[email protected]...

> 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