Programatically pre-select text in StringGadget
Posted: Sat Feb 04, 2012 6:01 am
I thought this would select the existing text in the string gadget, so I could if I wanted, simply delete it or paste over it:
....however, none of the text is selected - at least, not shown (not highlighted) as selected?
Code: Select all
SetGadgetText(#StrGdtInput,"Some Text")
SendMessage_(GadgetID(#StrGdtInput),#EM_SETSEL,0,-1)