WM_GETTEXTLENGTH returns double size

Alexandre Julliard julliard at winehq.com
Thu Jun 13 14:20:57 CDT 2002


Andriy Palamarchuk <apa3a at yahoo.com> writes:

> The best approach I could think of is to send an
> internal message from this location which returns
> lengths of Unicode and ASCII strings. This message
> will be processed only by our controls.
> If lengths of the Unicode strings are the same this
> means that both are generated by our code for the same
> text and I return the A length. If the lengths are
> different this means length was generated not in our
> code and I keep existing behavior (return double
> original Unicode length).

Actually our code should never have that problem because we have both
ASCII and Unicode winprocs for all controls. But there were a few
ASCII/Unicode mismatches in the combobox, I believe it should be fixed
now.

-- 
Alexandre Julliard
julliard at winehq.com



More information about the wine-devel mailing list