RE: find cursor position in editcontrol
Think it out
Find the position of the Window where the control is
Find the position of the Control
Use GetCaretPos to find where the cursor is.
I wont tell you what to add up I am sure you can figure it out. Why do you keep asking without trying anything. You will never learn anything without trying.
|