trichview.com

trichview.support




Re: Actual lines count


Return to index


Author

Message

Sergey Tkachenko

Posted: 06/15/2002 10:13:19


You can use GetItemCoords only for items that start paragraphs.

Beginning of the next paragraph is a end of previous paragraph.

The last paragraph is finished on rv.DocumentHeight



> Well, I'm trying to syncronize every TRichViewEdit's visible paragraph

with

> a corresponding TElTreeView's visible item. As shown in the inclosed

image.

>

> "Sergey Tkachenko" <svt@trichview.com> ha scritto nel messaggio

> news:3d090193@support.torry.net...

> > Can you tell me why do you need it?

> > May be we'll find a special solution for your case.

> >

> >

> > > Hi,

> > >

> > > how can I count actual lines inside a paragraph if they wrap

> > automatically?

> > >

> > > or

> > >

> > > can I get the rectangle of a certain paragraph? I need its height in

> > pixel.

> > > (with GetItemClientCoords() I get its starting point but I still need

> its

> > > height).

> > >

> > > Thank yoy in advance.

> > >

> > >

> >

> >

>

>

>





Powered by ABC Amber Outlook Express Converter