Valhalla Legends Archive

Programming => General Programming => Visual Basic Programming => Topic started by: DeathSoldier on October 02, 2006, 01:24 AM

Title: Split a picture box to an image list? Possible?
Post by: DeathSoldier on October 02, 2006, 01:24 AM
Ok heres whats going on:

I loaded icons.bni, parsed it and saved it as a .tga file.  Then I loaded the .tga into a picture box and I can see all the icons perfectly in the picture box. Now what I want to do is split each icon from the picture box, load each icon into a image list (separately), then use the image list with my list view. I don't know if thats possible or if thats the best way, if someone could help me out I'd appreciate it.


Title: Re: Split a picture box to an image list? Possible?
Post by: FrostWraith on October 02, 2006, 09:01 AM
You would be better off loading each one's pixel data into an array.
Title: Re: Split a picture box to an image list? Possible?
Post by: DeathSoldier on October 02, 2006, 04:57 PM
I'm going to try that now, I'll post back to see if I need more help, thanks~!
Title: Re: Split a picture box to an image list? Possible?
Post by: Cat Food on October 03, 2006, 12:02 PM
But I believe yes it is possible, though I have not tried anything dealing with such a matter I know you can write to vectors on images so I don't see why you couldn't copy data from vectors xy to xy.