Solved

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

Posted on 2004-04-04
5
320 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

863 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now