I have a Imagelist that I create this way:
imlMenuIcons = new ImageList();
imlMenuIcons.ColorDepth = ColorDepth.Depth32Bit;
imlMenuIcons.ImageSize = new Size(16, 16);
imlMenuIcons.TransparentColor = Color.Transparent;
...more images loaded here...
The GetImage-method simply load the embedded image from the assembly.
When I use the images with a simpley MenuBar they work great (see the left-hand-side of the attached picture).
But when using them with a toolbar (I use the exact same imagelist) the background doesn't seem to become transparent - except when you hoover the button (you can't see the cursor on the image!).
What am I doing wrong?
RPRamesh Praveen Syncfusion Team July 30, 2003 01:13 PM
The attachment has cs files rather than screen-shots? Also please mention the Tools version you are using.
ADAdministrator Syncfusion Team July 31, 2003 05:17 AM
Whooops, wrong zip-file :) My mistake!
I'm using version 1.6...
Correct zip-file attached.
RPRamesh Praveen Syncfusion Team August 1, 2003 08:10 AM
We noticed that this was a problem when you XPThemes was enabled and when your Form has a custom BackGroud color. We have now fixed this internally and the fix should be in our next release (we will notify you).