TImageList restriction?

Is there a limit on the number of bitmaps in a TImageList?

By limitation, I mean the number of raster images that it can hold, and / or the size of the memory in the list of images.

Thanks.

+4
source share
2 answers

Internally, the list of images is implemented by Windows to store all images in one large raster image. Your display device driver probably has the maximum bitmap size, and this limits the number of images that you can put on the image list. Fortunately, this limit has gone with Windows Vista. In any case, you will find that the restriction is device dependent.

+6
source

AFAIK is not, but technically it is 2GB because the index type (LongInt, Integer actually, but Integer is mapped to LongInt anyway).

0
source

Source: https://habr.com/ru/post/1369123/


All Articles