On 3/13/2010 13:38, Alexandru Balut wrote:
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.
It doesn't depend on A<->W conversions, it's measured in characters.
Anyway this is wrong.
Thanks,
Alex