On Sat, Mar 13, 2010 at 10:30, Nikolay Sivov <[email protected]> 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
