With a VB TextBox txt...
When the mouse is over txt, at pt(x,y), I'd like to detect what txt.selstart would be if somebody were to click on the mouse.
txt.selstart gets set when I click on the mouse.
Do i have to imitate a mouse click to do this? (which I don't know how to -do i use SendMessage?)
But -I dont want to change focus, etc if it's not on txt - I dont want that to get focus while i'm doing this.
Are there any calculatoins that I can do do figure out what txt.selstart would be, without imitating a mouse click?
Thanks!
When the mouse is over txt, at pt(x,y), I'd like to detect what txt.selstart would be if somebody were to click on the mouse.
txt.selstart gets set when I click on the mouse.
Do i have to imitate a mouse click to do this? (which I don't know how to -do i use SendMessage?)
But -I dont want to change focus, etc if it's not on txt - I dont want that to get focus while i'm doing this.
Are there any calculatoins that I can do do figure out what txt.selstart would be, without imitating a mouse click?
Thanks!