"Dylan Smith" <[EMAIL PROTECTED]> wrote: > EditWordBreakProc documented the third parameter as being the number of > unicode characters in the string for richedit 2.0 and up. It turns out > that it should actually be the number of bytes in the string.
Have you tried to set a unicode word break proc? The behaviour you see could be explained by the use of SendMessageA in your test, or even most likely an ANSI richedit window (RICHEDIT_CLASS vs. RICHEDIT_CLASSW). -- Dmitry.