Imagelist size restriction

  • Thread starter Thread starter Kent Briggs
  • Start date Start date
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.
 
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.
 
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
 
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.
 
Back
Top