• Welcome to Valhalla Legends Archive.
 

ListView - Icons (Multiple image lists)

Started by Networks, December 31, 2004, 09:44 AM

Previous topic - Next topic

Networks

Is there any way to use two icons from seperate image lists and input them into a listview.

This is what I wanted to do:
I wanted to use a regular battle.net which would be placed on the left and a seperate 'orbish' icon which dimensions are 30x30. If I use 1 image list it will distort the 'orbish' icon. So I decided to use seperate image lists but the listview won't allow you to switch from one another because it switches all the icons during a switch.

Help. :)

MyndFyre

Subclass and do custom painting?  :)

Or you could edit your icons beforehand so that when you make them into 30x30 they're not distorted.  Say your orb is on a 30x35 canvas right now -- if you make it 35x35 (without stretching), fill in the extra 5x35 pixels with the background color, it should scale correctly down to 30x30.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

Blaze

Will using the SmallIcon and the Large Icon list properties work?
Quote
Mitosis: Haha, Im great arent I!
hismajesty[yL]: No

MyndFyre

Quote from: Blaze on December 31, 2004, 01:14 PM
Will using the SmallIcon and the Large Icon list properties work?

No, you can't use more than one image list at once.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

Networks

I took the easy way out and just made the orbs smaller into the fit battle.net icon size so I don't have to worry about anything. Came out well in the end so I am happy :)

NetNX

eh.. im a fan of customization so id sugjest making a pretty little active x control u can use in all of your future programs :-X and work on it over a long period of time :P you might be able to find one already started at pscode.com