Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

See labels through transparent area of a picturebox

$
0
0
Hey.

What I need help with:
I am trying to create a program where the background is my logo, my logo is a tree, the left half of the tree is solid, and the right half of the tree is made of 1s and 0s (still making the shape of the tree)
I want my program to make the 1s and 0s part of the tree change randomly (the 1s and 0s) so its an animated logo, the only trouble I faced is that I can't make the 1s and 0s fit the shape of the tree, I am trying to make them fit the shape of the tree by just going onto photoshop, selecting the shape of the tree and then filling in the inverse of that (so that the tree shape is transparent and that everything else is filled in with black); I would then have the 1s and 0s behind that, and only the 1s and 0s of the label inside the transparent area would be seen, however it seems you can't see labels, or other pictureboxes for that matter, through the transparent area of a picturebox. I have changed backcolor to transparent and it doesn't work, all that happens is the transparent area is filled with the background colour/image of the form.

Summary: So, the summary is that I want a way to see the contents of a label through the transparent area of an image, the image should be in front and the label should be in hide (Z axis), I heard with pictureboxes you use GDI+ but you can't do this with labels, and I want the labels to be constantly changing. I don't want the transparent area to just show the background image/colour I want it to show what is behind it as well (the label in this case)
Thanks
~Lukee9

P.S: You can ask for additional information below, however I won't upload the logo to be seen :)

Viewing all articles
Browse latest Browse all 51036

Trending Articles



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