ianmarsden
asked on
Tansparency in forms and fade effects in PNGs (VB .NET)...
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
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
Are you talking about Layered Windows / Transparency Color? If you post some of the code, I could take a look at it.
ASKER
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
This screen capture may make things more clear...
http://www11.brinkster.com/marsdene/aeb.png
Ian
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Okies. Thanks for your time anyway KeefeJohnson.