HELP:Text size in ListView_SetItemText
Hi,
I am calling ListView_SetItemText(), with text size as 500 bytes
ListView_SetItemText(HND, index, 5, buff);//buff = 500 bytes of data
But it is displaying only 260.
Howcome?
any mask or switch to set?
If i do ListView_SetColumnWidth with 500 pixel width, column width gets updated but still data not displayed more than 260 bytes.
Regards
Nikhil
Re: HELP:Text size in ListView_SetItemText
What do you mean by 500 bytes of data. If you are not talking of characters, then if the 261th byte is a 0, it will be considered as NULL terminator for the string and that is what probably is showing up.
Re: HELP:Text size in ListView_SetItemText
Hi,
Quote:
What do you mean by 500 bytes of data
500 data means valid data incremental '1' to '9' in repetition , and no NULL.
and fort test purpose, data is hard coded in API itself with " "