Select a range of characters in an edit control?

invoke SendMessage,hText,EM_SETSEL,1,-1

Why can not select it?
Posted on 2003-11-29 07:09:11 by w32asmfan
Try with wParam==0 and lParam==-1




.IF all the text is not selected
maby your Edit loses focus and you dont have ES_NOHIDESEL.

if it's selected than you cant use wParam different than 0 with lParam == -1
Posted on 2003-11-29 17:30:09 by AceEmbler