We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Toolbar image problem

Thread ID:





6070 Jul 30,2003 09:08 AM UTC Aug 1,2003 12:10 PM UTC WinForms 3
Tags: Tools
Administrator [Syncfusion]
Asked On July 30, 2003 09:08 AM UTC

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; imlMenuIcons.Images.Add(GetImage("Images.cut.png")); ...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?

Ramesh Praveen [Syncfusion]
Replied On July 30, 2003 05:13 PM UTC

The attachment has cs files rather than screen-shots? Also please mention the Tools version you are using. Thanks Praveen

Administrator [Syncfusion]
Replied On July 31, 2003 09:17 AM UTC

Whooops, wrong zip-file :) My mistake! I'm using version 1.6... Correct zip-file attached. Kenneth

Ramesh Praveen [Syncfusion]
Replied On August 1, 2003 12:10 PM UTC

Kenneth, 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). Regards, Praveen


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon