Shoutbox

2 Questions about ListViews - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: 2 Questions about ListViews (/showthread.php?tid=65661)

2 Questions about ListViews by Jedimark on 08-31-2006 at 07:16 PM

1) I saw in this thread the attribute <SortColHeader>true</SortColHeader>
... now I tried this in my ListView control but it doesn't seem to sort anything?
I find no other reference to it? What does it do? Is there an efficient way of setting a ListView to autosort based on a certain (I.e. the first) column?

2) In the JScript is there any way of altering a column titles text?

Thanks,
- Mark


RE: 2 Questions about ListViews by Silentdragon on 08-31-2006 at 07:27 PM

1. It's bugged right now, so it only sorts the first column in alphabetical order.

2. I don't see any built-ins, so you'll have to do a win32 api call to change it.


RE: 2 Questions about ListViews by Jedimark on 08-31-2006 at 07:48 PM

1) It doesn't even seem to be sorting based on the first column for me?

2) Yeah I've looked... and looked! I don't really know *where* to look though.


RE: 2 Questions about ListViews by Silentdragon on 08-31-2006 at 07:56 PM

Hmm all lists I've ever made are sorted on the first column.

And I think this might be what you need LVM_SETCOLUMN