media player library sorting

Cabose

Active member
Joined
Oct 18, 2006
Messages
39
Programming Experience
Beginner
I was wanting to know how i would do the code to sort a listview by clicking one of its column button thingies lol i am very tired.

attached here.


I want to be able to click on say the artist button in the library and have it sort the music by the artist in alphabetical order. it is a listview but i dont know how to 1. do a click event on a liview column and 2. how to sort alphabetically.
Any help will be appreciated.

Thanks Much,
Cabose
 

Attachments

  • mediaplayer.jpg
    mediaplayer.jpg
    122.1 KB · Views: 50
Last edited by a moderator:
There is an example in the ListView.ListViewItemSorter Property topic.

Another tip for you when working with images and the internet, Bitmaps (bmp) is uncompressed and usually take large space and slow loading, Jpeg (jpg) images are compressed to only 1/10 of this even with high quality. I took the screenshot from your original message which was 1.5 megabytes and saved it to a Jpg file of only 122 kilobytes - that's only 8% of the original size. I edited your message and attached the Jpeg instead, now people don't have to wait 30 seconds for it to load, but only a second or two.
 
Alrighty and i usually save it as a gif image but i was tired and didnt want to wait for photoshop to load up so i used paint instead.

~Cabose
 
Paint also can save as several different image types, including Jpg and Gif. Speaking of image editing, check out Paint.Net
 
I know like i said i was just too tired to wait for photoshop to load up i do all of my images in it and they are a lot smaller

~Cabose
 
Back
Top