Transparent image and WinForm

Topics: Developer Forum
Dec 28, 2006 at 5:29 AM

Firstly, please accept my apologies for my English :). I have one question for you. Can I use image for form background. I'll try to describe the issue more detailed. I've drown the png image in Photoshop with some transparent areas and some particular transparent areas. So I would like to have a form such as image. I know that if i set this image as background for form i get it. However win form can't display a particular transparent areas. Is it possible to do it with win form? Could you please provide me with some examples? Thanks in advance.
Dec 31, 2006 at 3:05 PM
Just set your Windows Form Back Color to Transparent, that should make the areas that need to be transparent work.
Jan 9, 2007 at 7:04 AM
First of all thank you for your post. I've performed a search in Google and found a UpdateLayeredWindow function from user32.dll. It's so useful thing. Thanks again for help.