Re: [1/2] richedit: Added test for correct behaviour for callingEditWordBreakProc.
Oct. 22, 2008
11:16 p.m.
"Dylan Smith" <dylan.ah.smith(a)gmail.com> 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.
6363
Age (days ago)
6363
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dmitry Timoshkov