Transparent Picture boxes

L

lord.zoltar

I have a couple of images I'm using to try and pretty up some forms.
They are PNG images with transparent parts. I have one of them partly
overlaying the other, but my problem is with the transparent parts: If
Image1 is over Image2, I cannot see Image2. The transparent parts of
the images are coloured with the background colour of the form, so it
seems that the transparency is somewhat respected - how do I get the
transparent part to show any controls (such as other picture boxes)
under the image?
Ages ago I had done some sprite animation in VB6 and a little bit when
Vb .NET first came out... I know it's possible to do what I want by
drawing to an image buffer etc etc... but it seems to be a lot more
work than I need since there's no animation and these images are not
likely to change much.
 
L

lord.zoltar

Same applies to controls... is there any way to make a button
transparent so that the image below it is visible THROUGH the button? I
set it to have flat style and a transparent backcolour, and now the
background is whatever I make the parent containers', but I still can't
see the picturebox through the button.
Is this even possible?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top