[resend 1/2] comctl32: Preserve title when creating ListView window.

Nikolay Sivov nsivov at codeweavers.com
Wed Oct 11 04:54:34 CDT 2017


On 10/11/2017 10:10 AM, Vadim Druzhin wrote:

> Fix for NTPWEdit (http://cdslow.org.ru/en/ntpwedit/index.html).
>
> Signed-off-by: Vadim Druzhin <cdslow at mail.ru>
> ---
>   dlls/comctl32/listview.c | 4 ++++
>   1 file changed, 4 insertions(+)
>
> diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c
> index 73eceff..8114222 100644
> --- a/dlls/comctl32/listview.c
> +++ b/dlls/comctl32/listview.c
> @@ -9532,6 +9532,10 @@ static LRESULT LISTVIEW_NCCreate(HWND hwnd, const CREATESTRUCTW *lpcs)
>     if (!(infoPtr->hdpaPosX  = DPA_Create(10))) goto fail;
>     if (!(infoPtr->hdpaPosY  = DPA_Create(10))) goto fail;
>     if (!(infoPtr->hdpaColumns = DPA_Create(10))) goto fail;
> +
> +  /* Preserve window title */
> +  DefWindowProcW(hwnd, WM_SETTEXT, 0, (LPARAM)(lpcs->lpszName));
> +
>     return TRUE;
This is fixed in git now, see 
https://source.winehq.org/git/wine.git/commit/ee7ddd1ed38a3b2f41bdb676f42e3453021968c1, 
so no need to resend.
>   fail:
> --
> 2.5.5
>




More information about the wine-devel mailing list