user: make A->W WM_GETTEXTLENGTH use WM_GETTEXT [try 3]

Frank Richter frank.richter at
Tue Sep 20 11:19:23 CDT 2005

Diff to try 2: Dispatch WM_GETTEXT not only with SendMessageW() -
instead, using a caller-provided callback (so SendMessageW() is used if
the message was sent with SendMessage() and so on).

Frank Richter <frank.richter at>
When doing A->W WM_GETTEXTLENGTH, use WM_GETTEXT behind the scenes to
obtain an exact length. This seems to match the behaviour of recent
Windowses and as well fixes a couple of regressions (caused by theming
suddenly making the standard controls Unicode).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: user-AtoW-WM_GETTEXT2.diff
Type: text/x-patch
Size: 8409 bytes
Desc: not available
Url :

More information about the wine-patches mailing list