11-24-2007, 05:47 PM
The function works with RichEditXXW too. Don't know why the target app crashes. I tested with Wordpad on XP and Vista. But if you need to select text for deleting or replacing, this function does not do it. It only changes colors. See this:
Selecting text within a text field
Selecting text within a text field