[PATCH 2/3] comctl32/propsheet: Implement PSM_SETHEADERTITLE

Nikolay Sivov nsivov at codeweavers.com
Thu Feb 16 12:26:47 CST 2017



On 02/16/2017 09:06 PM, Alexandre Julliard wrote:
> Nikolay Sivov <nsivov at codeweavers.com> writes:
>
>>       case PSM_SETHEADERTITLEW:
>> -        PROPSHEET_SetHeaderTitleW(hwnd, (int)wParam, (LPCWSTR)lParam);
>> -        return TRUE;
>> +        PROPSHEET_SetHeaderTitleW(hwnd, wParam, (LPCWSTR)lParam);
>> +        return FALSE;
>>   
>>       case PSM_SETHEADERTITLEA:
>> -        PROPSHEET_SetHeaderTitleA(hwnd, (int)wParam, (LPCSTR)lParam);
>> -        return TRUE;
>> +        PROPSHEET_SetHeaderTitleA(hwnd, wParam, (LPCSTR)lParam);
>> +        return FALSE;
> Not that it makes much difference, but is there a reason for changing
> these to returning FALSE?
>
I tested this manually, sending to propsheet window always returns 0 for 
these messages. I guess I missed the fact that it's a dialog procedure, 
is that what you mean?



More information about the wine-devel mailing list