What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Listview issues

Listview issues
Author: Message:
Mothuim
New Member
*


Posts: 14
Joined: Jul 2006
O.P. Listview issues
I'm trying to add a listview control to my script. I can get it to fill in the first column perfectly but nothing else. i found this thread which seemed to be the same problem as mine. But i'd like to know why my method does not work. Specifically what the columnidx should be.

Here's my code:

code:
for (i = 1; i < NodeCol.length; i++)
   {xSMC = NodeCol.item(i).text
   xEmail = NodeCol.item(i).getAttribute("Contact")
//Create item
     OptionsWnd.LstView_AddItem(
    "ListViewMC",
    xEmail,
    i,
    i
);

//Set item texts
OptionsWnd.LstView_SetItemText(
    "ListViewMC",
    i,
    columnidx,
    xSMC
);
     
     
     }


I've tried a few obvious ideas like 0, 1 , 2 etc but nothing....

EDIT: I've also tried playing with the columnid value which is set in the interface xml but that didn't work either.

This post was edited on 07-21-2006 at 02:02 AM by Mothuim.
07-21-2006 01:59 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Listview issues - by Mothuim on 07-21-2006 at 01:59 AM
RE: Listview issues - by Volv on 07-21-2006 at 07:57 AM


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