On Wed, Sep 19, 2018 at 1:55 PM, Huw Davies huw@codeweavers.com wrote:
I'm also concerned that we won't get WM_MEASUREITEMs in the LBS_OWNERDRAWVARIABLE case.
Huw.
I don't know if that's an issue since SetCount should theoretically be an "instant" operation and these items are just added at the end as empty. I think Windows doesn't even support SetCount without LBS_NODATA (which is not supported by Wine yet, I think I'll try working on it and implement it in an optimal way, i.e. with the minimum amount of memory needed, since it's meant for very very large lists).
But, at least for now, I can fall back to the original (unoptimal) behavior if OWNERDRAWVARIABLE is set, would that be acceptable?