J
Jeroen Timmers
Hi,
I'm trying to place a control onto a form behind a picturebox. Some area's
of this picturebox
are defined as transparant. Now I run into the problem of not seeing the
controls anymore.
What does happen is the transparent area is taking the same color as the
form so it looks transparant but not truly is. What am I doing wrong?!
thanks in advance
Here is some sample code..
// set transparant color
Bitmap bmp = new Bitmap(this.ImgBackground.Image);
bmp.MakeTransparent(Color.FromArgb(255,0,255));
this.ImgBackground.Image= bmp;
I'm trying to place a control onto a form behind a picturebox. Some area's
of this picturebox
are defined as transparant. Now I run into the problem of not seeing the
controls anymore.
What does happen is the transparent area is taking the same color as the
form so it looks transparant but not truly is. What am I doing wrong?!
thanks in advance
Here is some sample code..
// set transparant color
Bitmap bmp = new Bitmap(this.ImgBackground.Image);
bmp.MakeTransparent(Color.FromArgb(255,0,255));
this.ImgBackground.Image= bmp;