Shoutbox

find cursor position in editcontrol - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: find cursor position in editcontrol (/showthread.php?tid=83817)

find cursor position in editcontrol by Suxsem on 05-19-2008 at 04:30 PM

Hi!
How I can find the cursor position in a edit text control in a plus windows?

Thank, bye!


RE: find cursor position in editcontrol by matty on 05-19-2008 at 04:33 PM

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.