Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2004-04-04
5
Medium Priority
?
327 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 250 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…

926 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