user: make A->W WM_GETTEXTLENGTH use WM_GETTEXT [try 2]
frank.richter at gmail.com
Tue Sep 20 10:00:16 CDT 2005
On 19.09.2005 21:44, Frank Richter wrote:
> Interestingly, when CallWindowProcA() is used on an W window, no
> WM_GETTEXT is sent. (Whether the window proc belongs to the window does
> not seem to matter.) Though, in that case, the result is not doubled either.
Playing around with a Chinese ANSI code page and some non-Latin
codepage, it seems that with SendMessageA(), you get a correct ANSI
length, while with CallWndProcA() you don't - seems Windows just returns
the Unicode length without any further adjustments...
More information about the wine-devel