Transparent Picture Box

meetarun007

Member
Joined
Apr 26, 2010
Messages
7
Programming Experience
Beginner
Hi to all,

I need to display a arrow picture over another picture.
But i cant able to make arrow picture transparent other than the arrow. Always it is in rectangle format(Picture box). I tried the picture box color to transparent, But that doesn't worked.
A separate user control for displaying transparent image will be appreciated.

Pls Help...:mad::mad:
 

JuggaloBrotha

VB.NET Forum Moderator
Staff member
Joined
Jun 3, 2004
Messages
4,524
Location
Lansing, MI; USA
Programming Experience
10+
Can't you specify the transparency key color? Say you have an arrow image with a purple background (something ugly that wouldn't be used anywhere in the app) around the arrow then you set the PictureBox's TransparencyKey (or maybe the Form's, I cant remember which) color to that purple which gives you transparency around the arrow
 

meetarun007

Member
Joined
Apr 26, 2010
Messages
7
Programming Experience
Beginner
Can't you specify the transparency key color? Say you have an arrow image with a purple background (something ugly that wouldn't be used anywhere in the app) around the arrow then you set the PictureBox's TransparencyKey (or maybe the Form's, I cant remember which) color to that purple which gives you transparency around the arrow
But there is transparency key in windows controls...
I tried to set in forms. But make completely transparent.Means it makes the underlying picture's area also transparent. Thus it's become square hole.
any other solutions...
A separate user control is better. Pl Help...
Thnx in advance...
 
Top Bottom