Send it a EM_SETSEL message, with the wParam set to the starting character and the lParam set to the ending character position.
Chip H.
____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first