What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [?] Clearing LstView Controls

[?] Clearing LstView Controls
Author: Message:
Volv
Skinning Contest Winner
*****

Avatar

Posts: 1233
Reputation: 31
35 / Male / Flag
Joined: Oct 2004
RE: [?] Clearing LstView Controls
I believe your original problem is related to the fact that PlusWnd.LstView_GetCount("ListView") is not constant (it decreases each time you remove an item) and as such your 'i' isn't going through all the necessary loops.
It works for 1 item because it loops through '0'.
It works for 2 items because it loops through '0', '1'.
It does not work for 3 items because it loops through '0', '1'.
It does not work for 4 items because it loops through '0', '1', '2'.
etc.

EDIT: I don't see why my while() loops wouldn't work though :P (I haven't tried it though)

This post was edited on 10-03-2007 at 03:03 PM by Volv.
10-03-2007 02:58 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[?] Clearing LstView Controls - by Spunky on 10-03-2007 at 02:07 PM
RE: [?] Clearing LstView Controls - by Matti on 10-03-2007 at 02:32 PM
RE: [?] Clearing LstView Controls - by Volv on 10-03-2007 at 02:40 PM
RE: [?] Clearing LstView Controls - by Spunky on 10-03-2007 at 02:49 PM
RE: RE: [?] Clearing LstView Controls - by Matti on 10-03-2007 at 05:32 PM
RE: [?] Clearing LstView Controls - by Volv on 10-03-2007 at 02:58 PM
RE: [?] Clearing LstView Controls - by Spunky on 10-03-2007 at 03:00 PM
RE: [?] Clearing LstView Controls - by markee on 10-03-2007 at 03:03 PM
RE: [?] Clearing LstView Controls - by Spunky on 10-03-2007 at 03:04 PM
RE: RE: [?] Clearing LstView Controls - by Volv on 10-03-2007 at 03:07 PM
RE: [?] Clearing LstView Controls - by markee on 10-03-2007 at 03:14 PM
RE: [?] Clearing LstView Controls - by Spunky on 10-03-2007 at 05:45 PM
RE: [?] Clearing LstView Controls - by roflmao456 on 10-03-2007 at 07:47 PM
RE: [?] Clearing LstView Controls - by phalanxii on 10-04-2007 at 12:47 AM
RE: [?] Clearing LstView Controls - by Matti on 10-04-2007 at 04:56 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