-
I have an imagelist in which there are 3 images that I use for a treeview. First of all I tried with .ico files, and this worked fine. For some time at least. The .ico images were initially 48x48 (original size) and I chose 16x16 in the image list. This worked fine until the application was run on a different machine, then the icons were a strange colour, and appeared very windows 3.1'ish. Ok, so I tried with another batch of icons which original size was 16x16. Again, to start with they were displayed correctly, but started looking funny after a while. Even on the same machine, and even during development of the application.
I've tried with .bmp, .jpg and .gif files also, but the problem persists.
Does anyone have any suggesttions on this?
Thanks
-
Wow... 2000?
Well i found this post whilst doing a search on Imagelists... and Treeviews.
I to had this same problem.. but it was easily fixed. In the image list control... (right click and click on properties) and make sure the "Use Mask Colour" Property is unticked.
Works a treat now.
All the best..
Gavin