Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QM 2.3.0.0 - Unicode Characters Selection - Bytes and Charac
#1
QM 2.3.0.0 - Unicode Characters Selection - Bytes and Characters

Using

i=findrx(s rx i flags|8 length)

it obtains position (i) and length (length) in bytes.

To select found string using findrx :

SendMessage(h EM_SETSEL i i+length)

where "i and length" in the above statement refer to unicode characters, not to bytes.

Any idea about the way to bridge the gap between numbers of unicode characters and unicode bytes?


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)