HighTechTalks DotNet Forums  

Re: Using image lists with PNG

Dotnet Framework (Drawing) microsoft.public.dotnet.framework.drawing


Discuss Re: Using image lists with PNG in the Dotnet Framework (Drawing) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Bob Powell [MVP]
 
Posts: n/a

Default Re: Using image lists with PNG - 09-27-2005 , 05:41 PM






Would you remove the spamkiller from my e-mail address and mail me your
png's please?

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

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

Quote:
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
PixelFormat Fromat32bppArgb
RawFormat png
VerticalRes 96





Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.