[PATCH 2/2] comctl32/listbox: Implement LBS_NODATA

Nikolay Sivov nsivov at codeweavers.com
Mon Nov 19 12:10:03 CST 2018


On 11/19/18 6:33 PM, Gabriel Ivăncescu wrote:

> I forgot to mention: besides the bug report, a real life use case at
> least for single-selection listboxes is Wine's own autocomplete
> implementation in the very near future.
>
> I plan to convert it to use LBS_NODATA (once it's implemented) for a
> 40% performance gain on large suggestions, so that it is much more
> manageable on a large enumeration (virtual database fs for instance).
>
> Obviously it has to be implemented first or there's no point at all.
> (and yes, the "special cases" everywhere needs to remain for
> single-selection listboxes)

Is this listbox window accessible by some API? If it's visible to 
application in any way you should check first that it's actually using 
this style.




More information about the wine-devel mailing list