Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get Offset in Edit control
#1
Hi Gintaras,
I would like to get the offset of a cursor click within a text box. I thought of this:



Code:
Copy      Help
'SCH
_s.getclip
out _s.len
lef

but was wondering if there was any more elegant way of doing it (i.e. not having to handle the onscreen select de-select steps, etc)

I looked into GetCaretXY but this is the x,y insted of offset.

Thanks!,
S


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)