[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: 'unicode' usage in x11drv/window.c (X11DRV_CreateWindow)
From:       Alexandre Julliard <julliard () winehq ! org>
Date:       2004-03-31 17:41:36
Message-ID: 87r7v8ap7z.fsf () mail ! wine ! dyndns ! org
[Download RAW message or body]

pvriens@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@winehq.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic