|
-
December 4th, 2008, 09:17 AM
#1
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
-
December 5th, 2008, 02:10 AM
#2
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.
-
December 5th, 2008, 07:57 AM
#3
Re: HELP:Text size in ListView_SetItemText
Hi,
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 " "
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|