Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Selecting text within a text field
#4
Use EM_EXSETSEL message. Documented in the MSDN library. Possibly also you can find something about it here. Then use either EM_REPLACESEL, or, if the program does not like it, use keyboard or str.setsel.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)