Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27019

PNG Alpha Channel Form

$
0
0
Hi, I have done some research in what ways there are to use transparency and I have found a few solutions, but even they still seem to give me trouble.

What I want to achieve is a program window like it was originally designed with the transparency. Something like this:



I've tried some methods and though some of the work there is problems. One method I tried was from this tutorial: http://bc-programming.com/blogs/2013...-vb-net-forms/

Now that works, partially but the problem with that is, that it won't allow me to open the form design and edit the controls. Even if I managed to do that, I most likely would be able to have controls on top of the image.

So, I found and tried this: http://www.codeproject.com/Articles/...Form-with-Desi that also worked and I was able to use the designer to add controls and such but then when I added controls none of them appeared on the actuall form. I later found out a solution to this and it was that I needed a blank space where I wanted a control, but this wasn't going to work for me as I was using a full image with no transparent areas, where the controls were meant to be.

Finally, I found this: http://andy.jgknet.de/blog/2010/05/j...orm-rewritten/ a program written in Delphi that seems to be what I want but unfortunately, I don't know delphi and I couldn't even find the source. So yeah that wasn't going to work.

I also came across this: http://stackoverflow.com/questions/1...nt-window-form the poster claims to have fixed the problem by creating two forms. One with the alpha transparent image (background) and one with the controls (foreground) but, his solution isn't clearly explained and I am not sure how I would go about doing what he did to achieve the same results.

Thanks.

Viewing all articles
Browse latest Browse all 27019

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>