Is it possible to set the caret wherever a person wants to in the text when there is a selection? Let's say there is text like "This is it" in the edit box. The selection is "is it" and the caret needs to blink in front of 'is". You can do this when you manually select the text, but can you make your progam do this?
When you use "CONTROLCMD win,editbox,@EDSETSELECTION, start,end" the caret is always at the end of the selection.
Thanks,
Clint
Just use:
CONTROLCMD win,editbox, @EDSETSELECTION, end, start
fascero, thanks for looking at this. I think I tried that and it didn't work. (Will look at it again later today)