[PATCH] comctl32: Add partial support for LVM_SETBKIMAGE.

Zhiyi Zhang zzhang at codeweavers.com
Fri Jun 10 04:26:04 CDT 2022



On 6/10/22 17:22, Dmitry Timoshkov wrote:
> Zhiyi Zhang <zzhang at codeweavers.com> wrote:
>
>>>>>> Also, I found LVM_SETBKIMAGE is acting a bit weird on Windows. For example,
>>>>>> if a LVM_SETBKIMAGE message trying to set a bitmap
>>>>>> is sent the second time. The second message returns FALSE and the background
>>>>>> image gets reset to none(from LVM_GETBKIMAGE). I don't know if we should
>>>>>> implement such a behavior but I would be more comfortable with some tests.
>>>>> According to my testing LVM_SETBKIMAGE always returns 0.
>>>> If LVM_SETBKIMAGE for a bitmap succeeds, it does return TRUE.
>>> Where do you see this? In my tests LVM_SETBKIMAGE always returns 0:
>>> https://testbot.winehq.org/JobDetails.pl?Key=116659
>> You're only testing with comctl32 v5. Please see https://testbot.winehq.org/JobDetails.pl?Key=116666&f204=exe32.report#k204
> Thanks. Do you think it's really necessary to change return value for the v6 case?
>
Yes, I think it's necessary. I don't think comctl32 v5 support LVM_SETBKIMAGE at all. The FALSE is probably from DefWindowProc().



More information about the wine-devel mailing list