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

List box clearing?
Author: Message:
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
O.P. RE: RE: List box clearing?
That does it :D

Thanks :D

-----------------------------------
quote:
Originally posted by foaly
try:

code:
while(wnd.LstBox_GetCount("list")>0){
        wnd.LstBox_RemoveItem("list",0);
    }



I've tried this trick on a ListBoxControl and it seemed to work. On a ListViewControl, however, it crashes Messenger.. Is there any reason or solution to this problem?

code:
    while(WndSkinEditor.LstView_GetCount("vLstElementsLeft") >= 0) {
        WndSkinEditor.LstView_RemoveItem("vLstElementsLeft",0);
    }
    Debug.Trace("> Clearing \" vLstElementsRight\"");
    while(WndSkinEditor.LstView_GetCount("vLstElementsRight") >= 0) {
        WndSkinEditor.LstView_RemoveItem("vLstElementsRight",0);
    }

This post was edited on 07-14-2008 at 04:56 PM by SmokingCookie.
07-14-2008 04:54 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
List box clearing? - by SmokingCookie on 07-13-2008 at 08:55 PM
RE: List box clearing? - by foaly on 07-13-2008 at 09:00 PM
RE: RE: List box clearing? - by SmokingCookie on 07-14-2008 at 04:54 PM
RE: List box clearing? - by SmokingCookie on 07-13-2008 at 09:05 PM
RE: List box clearing? - by TheSteve on 07-14-2008 at 01:01 AM
RE: List box clearing? - by Matti on 07-14-2008 at 05:01 PM
RE: List box clearing? - by SmokingCookie on 07-14-2008 at 05:05 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