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

Alexandru Balut alexandru.balut at gmail.com
Sat Mar 13 04:38:42 CST 2010


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.

Thanks,
Alex



More information about the wine-devel mailing list