Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2004-04-04
5
Medium Priority
?
326 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

721 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