What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [?] LstView_SetItemText not working

[?] LstView_SetItemText not working
Author: Message:
markee
Veteran Member
*****

Avatar

Posts: 1622
Reputation: 50
36 / Male / Flag
Joined: Jan 2006
RE: [?] LstView_SetItemText not working
You are trying to set the text of the next on in the list which doesn't exist yet.  After you use LstView_AddItem, in the next line the LstView_GetCount is increased by 1 and therefore doen't have the same index.  You can either minus one off of that in the SetItemText line, or you can just use the return value of the AddItem line and you should be fine.

Edit: also you don't need those last 2 parameters in the AddItem line as it will be added to the end of the list anyway and your itemData doesn't have any real purpose.

This post was edited on 09-20-2007 at 12:31 AM by markee.
[Image: markee.png]
09-20-2007 12:29 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[?] LstView_SetItemText not working - by Spunky on 09-19-2007 at 07:27 PM
RE: [?] LstView_SetItemText not working - by markee on 09-20-2007 at 12:29 AM
RE: [?] LstView_SetItemText not working - by Spunky on 09-20-2007 at 12:35 AM
RE: [?] LstView_SetItemText not working - by markee on 09-20-2007 at 11:47 AM
RE: [?] LstView_SetItemText not working - by Matti on 09-20-2007 at 04:10 PM
RE: [?] LstView_SetItemText not working - by Spunky on 09-20-2007 at 04:42 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On