Would you remove the spamkiller from my e-mail address and mail me your
Bob Powell [MVP]
Visual C#, System.Drawing
Ramuseco Limited .NET consulting
Find great Windows Forms articles in Windows Forms Tips and Tricks
Answer those GDI+ questions with the GDI+ FAQ
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
"Raj Chudasama" <raj (AT) asteriasgi (DOT) com> wrote
I have a dialpad contol i created. It mimics dial pad on a regular phone |
or cell phone. Each number is made up of PicutreBox. These pictures boxes
have graphics on them. Graphics are partial transparent.
Now i have added an image list. This image lis contains 3 graphics for
each of the dial pad button. 1-0 as well as # and *.
There are 3 buttons for each state which are Up state , hover state and
the down state.
The problem is that button for each state comes from the ImageList and
when it is pulled from the imagelist the background for the png turns
blue. However the images are supposed to be transparent. (So the
transparency turns blue).
i have included screen shots
---->>>>>> remember that good screen shot is for the buttons set as Image
at the inital state and bad is set during the mouse hover over being
pulled from an imagelist.
why is this?
Graphics are png format with the following specs (both the initial state
image and imagelist have the same specs):
Horizontal res 96
Physical dimension W 45 H 33