caret coordinates in text box

A

Alex K.

Hi all

How do I get current coordinates (X,Y) of the caret symbol in a multi-line
text box?
Thank you
 
C

Claes Bergefall

Try calling GetCaret followed by a EM_CHARFROMPOS message. You should be
able to work your way to the line/pos from that.

/claes
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top