Imagelist size restriction

K

Kent Briggs

VB 2005 / Pocket PC. Why are the image sizes limited to 256x256 in an
imagelist? I need to stored several full screen images (240 x 320) and
pull them into a picturebox as needed.
 
K

Kent Briggs

So what's the ImageList buy you that an Array or ArrayList doesn't?

It allows me load images at design time without writing any code and
without having external files.
 
G

Guest

Add the images as embedded resources then write a class accessor to simply
take a name and return a Bitmap from the app. It's a little more code, but
not much, and it will meet your needs.

-Chris
 
K

Kent Briggs

Add the images as embedded resources then write a class accessor to simply
take a name and return a Bitmap from the app. It's a little more code, but
not much, and it will meet your needs.

That's what I'll end up doing but it doesn't answer the question as to
why the imagelist images are limited to 256 x 256 in the first place.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top