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

List:       wine-devel
Subject:    Re: Hack for "managed captions"
From:       "Dmitry Timoshkov" <dmitry () sloboda ! ru>
Date:       2000-06-26 2:57:42
[Download RAW message or body]

Alexandre Julliard <julliard@winehq.com> wrote:

>> Perhaps a cleaner way will be to convert
>> (*pSetText) driver function to unicode, convert WND.text to LPWSTR
>> and localize this hack to x11drv only?
>
>That would be much better yes. We don't want the actual window text to
>be mapped, only what we pass to X11; otherwise it will break apps that
>need WM_GETTEXT to retrieve what was set with WM_SETTEXT.

On the related note: is it really necessary to allocate buffer for
window text on the system heap? Window lives as much time as its process
heap anyway.

Dmitry.

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

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