I'm trying to create an imagelist from code.
The image used is a toolstrip image of size 312x24 which contains 13 images in format 24x24 added to the resources of the app.
When I create the object and add the resource to it the :GetImageCount() returns 26.
It looks like the image is doubled.
Attached is a small project that shows the behaviour.
Any help would be greatly appreciated.