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:
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
O.P. Huh?  [?] LstView_SetItemText not working
The code (below) doesn't seem to be working right. I'm making a list of all my contacts and then trying to read nicknames from the registry and set them in the next column. Adding the contact works fine, but it won't set the nickname text. I've checked the value of nickname and it is correct, it's just the function failing for some reason (Only reason in documentation is that the window may have already closed, but it hasn't)

Please help, it's driving me mad :(

code:
for (var objSubKey in objSubKeys){
                    nickname = Registry_GetKeyValue(HKCU, 'Software\\Patchou\\Messenger Plus! Live\\GlobalSettings\\Scripts\\myScript\\Settings\\'+Messenger.MyUserId+"\\"+objSubKey, "Nickname")
                    nick.LstView_AddItem("Contacts", findEmail(objSubKey), 0, nick.LstView_GetCount("Contacts"));
                    nick.LstView_SetItemText("Contacts", nick.LstView_GetCount("Contacts"), 0, nickname);
        }

This post was edited on 09-19-2007 at 07:30 PM by Spunky.
<Eljay> "Problems encountered: shit blew up" :zippy:
09-19-2007 07:27 PM
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