'unicode' usage in x11drv/window.c (X11DRV_CreateWindow)
Hi, while going through some of the code I saw that in the above mentioned function we sometimes do a SendMessage(A/W) depending on the setting of the unicode parameter. In the same function we do 3 SendMessageW's without checking unicode. Is this correct or is this not harmful ? Cheers, Paul Vriens.
pvriens(a)xs4all.nl writes:
while going through some of the code I saw that in the above mentioned function we sometimes do a SendMessage(A/W) depending on the setting of the unicode parameter. In the same function we do 3 SendMessageW's without checking unicode. Is this correct or is this not harmful ?
The distinction only matters for messages that have different behavior in ASCII and Unicode, i.e. that have a string parameter or something like that. For most messages always using SendMessageW is fine. -- Alexandre Julliard julliard(a)winehq.org
participants (2)
-
Alexandre Julliard -
pvriens@xs4all.nl