|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Transparent Picture boxesI 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. 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? Can't you just set the BackColor to transparent?
S <lord.zol***@gmail.com> wrote in message Show quoteHide quote news:1164820914.561931.105330@h54g2000cwb.googlegroups.com... > 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? >
How do you translate your WinForms app? (outsourcing localization)
How to recognize a Command Line parameter? how to make cookies into an array? Looking for a simple explanation of how to walk through a dataset in .net 2.0 Need pre-built report administration application Its Urgent: I have export database into excel file if office not installed then it gives me error Logic Troubles - reading in a difficult textfile Add new record to database Where is the VS mru list file stored? how sql xml query to get empty element tag |
|||||||||||||||||||||||