Coordinates of caret

General TRichView support forum. Please post your questions here
Post Reply
Jim Knopf
Posts: 241
Joined: Mon Dec 30, 2013 10:07 pm
Location: Austria
Contact:

Coordinates of caret

Post by Jim Knopf »

Is there a possibility to obtain the carets current coordinates without using OnDrawCustomCaret or OnMeasureCustomCaret?
Sergey Tkachenko
Site Admin
Posts: 17565
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

In TRichViewEdit? Use WinAPI GetCaretPos
An example in Demos\DelphiUnicode\Assorted\Autocomplete\
Jim Knopf
Posts: 241
Joined: Mon Dec 30, 2013 10:07 pm
Location: Austria
Contact:

Post by Jim Knopf »

O dear - a windows method :-)
thank's a lot!
Post Reply