comctl32: [Bug 17251] cchTextMax needs to be set for LVS_OWNERDATA as it uses LVN_GETDISPINFO notifications

Nikolay Sivov bunglehead at gmail.com
Sat Mar 13 04:40:59 CST 2010


On 3/13/2010 13:38, Alexandru Balut wrote:
> On Sat, Mar 13, 2010 at 10:30, Nikolay Sivov<bunglehead at gmail.com>  wrote:
>    
>> Also I'm not sure what you mean here
>> ---
>> textlenT(pszText, isW)+2
>> ---
>> pszText is Edit control text at this point (or NULL). How it's related to
>> LISTVIEW_GetItemW? And what this +2 adding mean?
>>      
> The +2 appears because cchTextMax "includes the terminating NULL". I
> think it should be 1 if not isW.
>    
It doesn't depend on A<->W conversions, it's measured in characters. 
Anyway this is wrong.
> Thanks,
> Alex
>
>    




More information about the wine-devel mailing list