Solved

Tansparency in forms and fade effects in PNGs (VB .NET)...

Posted on 2004-04-04
5
322 Views
Last Modified: 2007-12-19
Hi all,
I have a form, which I've set to be transparent (using TransparencyKey). On that form I have a PNG image which has transparent areas and semi-transparent areas (a fade effect). The full transparent parts of the image are fine, but the fade effect is showing with the colour of the TransparencyKey behind it.

Please could someone shed some light on this topic.

Thanks in advance,
Ian
0
Comment
Question by:ianmarsden
  • 2
  • 2
5 Comments
 
LVL 2

Expert Comment

by:KeefeJohnson
ID: 10758126
Are you talking about Layered Windows / Transparency Color? If you post some of the code, I could take a look at it.
0
 

Author Comment

by:ianmarsden
ID: 10758733
No code involved at the moment. Just a form with default BackColor, TransparencyKey set to the same colour (making the whole form transparent) and a PictureBox with the PNG.

This screen capture may make things more clear...
http://www11.brinkster.com/marsdene/aeb.png

Ian
0
 
LVL 2

Accepted Solution

by:
KeefeJohnson earned 125 total points
ID: 10760690
I don't have .NET, so I can't help you there. If the TransparencyKey is using Layered Windows, I don't think partial transparency is possible.
0
 

Author Comment

by:ianmarsden
ID: 10761066
Okies. Thanks for your time anyway KeefeJohnson.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question