Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
findrx question
#8
Code:
Copy      Help
int i j
i=findrx(alltext regexp 0 0 j)
if(i<0) ret
SendMessage id(15 "Notepad") EM_SETSEL i i+j


EM_SETSEL can be used only with edit controls (eg Notepad) and rich edit controls (eg Wordpad).


Messages In This Thread

Forum Jump:


Users browsing this thread: 9 Guest(s)