comctl32: cchTextMax needs to be set for LVS_OWNERDATA as it uses LVN_GETDISPINFO notifications

Jeff Latimer lats at
Sat Jan 2 04:56:11 CST 2010

On 02/01/10 21:42, Nikolay Sivov wrote:
> On 1/2/2010 12:48, Jeff Latimer wrote:
>> ---
>>  dlls/comctl32/listview.c |    1 +
>>  1 files changed, 1 insertions(+), 0 deletions(-)
> Actually setting buffer count is noop here, cause buffer pointer is 
> not set up for dispInfo.item.
Because it is tied up with callbacks, I have observed that the callback 
routine in the app may be the issue here.  It looks to be used in at 
least one case.
> A test required for this - let's say check that an ownerdata listview 
> send LVN_GETDISPINFO before text update and the same thing for 
> callback text (don't remember now maybe similar tests are already in).
I can do a test but not for 2 weeks (summer holidays).

More information about the wine-devel mailing list