Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Find and highlight text in other app using regular expresion
#9
Something like this:

Code:
Copy      Help
CHARFORMAT2W* sm_in_wordpad=+share(worpad_edit_control_handle)
CHARFORMAT2W* sm_in_qm=+share
sm_in_qm.some_member=some_value
;...
SendMessage worpad_edit_control_handle EM_SETCHARFORMAT SCF_SELECTION sm_in_wordpad)

I don't think you need EM_FINDTEXT if you use regular expressions. I don't think you should convert the sample as it is.


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)