trichview.com

trichview.support




Re: GetCaretPos() and RichViewEdit1.GetItemCoord()


Return to index


Author

Message

Sergey Tkachenko

Posted: 08/22/2002 20:39:24


Hi,


GetCaretPos returns client coordinates (relative to left-top of window)

GetItemCoords returns coordinates relative to left-top of scrollable area.

Use GetItemClientCoords.



> Hi,

>

> I would like to compare caret's position with an item's coordinates,

> however, if my item is on the same line as the caret

>

> GetCaretPos() and RichViewEdit1.GetItemCoord() return two diffrent Y

> coordinates.

>

> Why is that ?

> __________________________________________________________________

Katerina

> Sedivy ICQ#: 148982763 Current ICQ status: + More ways to contact me i See

> more about me:

> __________________________________________________________________

>

>





Powered by ABC Amber Outlook Express Converter