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

List-view groups
Author: Message:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
31 / Male / Flag
Joined: Apr 2004
RE: List-view groups
My ListView class has a helper function to create an LVITEM (ListView.Helpers.LVITEM). This function is used when you add or change items in the list view.

My guess is that you'll need to add some code to that function to add support for groups. You'll have to add a parameter to the LVITEM function so you can pass in the wanted group ID. When this parameter is set, you need to write the value for iGroupId to the structure and add LVIF_GROUPID and LVIF_COLUMNS to the Mask. Of course, you'll also need to add and pass the group parameter to the functions using LVITEM (e.g. InsertItem).

I don't know how sorting and grouping would work together though. I'd recommend you try to get grouping to work without the ListView class and if that works, you could try to combine it with the ListView class.
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
10-16-2010 03:14 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
List-view groups - by SmokingCookie on 10-16-2010 at 12:24 PM
RE: List-view groups - by matty on 10-16-2010 at 01:31 PM
RE: List-view groups - by Matti on 10-16-2010 at 03:14 PM
RE: List-view groups - by SmokingCookie on 10-16-2010 at 05:18 PM
RE: List-view groups - by SmokingCookie on 10-19-2010 at 10:24 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