Link to home
Start Free TrialLog in
Avatar of adbabypenguin
adbabypenguin

asked on

Transparent PictureBoxes

I need my program to have PictureBoxes that are transparent. I don't just mean have pictures that are coloured the same as the Form, I want to be able to see controls behind them.

Any ideas?
Thanks,
adbabypenguin
Avatar of monkesdb
monkesdb
Flag of United Kingdom of Great Britain and Northern Ireland image

Picture1.Visible = False
Avatar of adbabypenguin
adbabypenguin

ASKER

Oh yeah... I want to have a picture displayed in the Boxes as well... Picture1.Visible=False ain't much help
Picture1.ZOrder = -1 (i think)

or you can just "Send to back" in the editor.
Let me make it clear what I want to do:

I have a file called House.bmp. It has a blue background. On top of the background, there is a house.

I also have a file called School.bmp. It also has a blue background. On top of the background, there is a school.

There are two Picture Boxes.
One is Pic1, The other Pic2.
They contain the two pictures.
Pic2 partly overlaps Pic1.
I want the blue part of the image to be transparent, so that I can see part of the image behind it.
ASKER CERTIFIED SOLUTION
Avatar of monkesdb
monkesdb
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of DanRollins
Moderator, my recommended disposition is:

    Accept monkesdb's comment(s) as an answer.

Dan Rollins -- EE database cleanup volunteer