T
Torleif Berger
Is it possible to have a transparent Form? And by that I mean that the
background should be transparent.
I have tried to set the Opaque property, but that makes everything
transparent. I use OnPaint an OnBackgroundPaint to draw stuff on the form,
and when I set Opaque, what I draw is transparent as well. And I would
like it not to be.
I have also tried
SetStyle(ControlStyles.SupportsTransparentBackColor)
BackColor = Color.FromArgb(128, Color.Black);
But that only made the Black more gray... Probably because gray is the
default Form background or something..
Any ideas?
background should be transparent.
I have tried to set the Opaque property, but that makes everything
transparent. I use OnPaint an OnBackgroundPaint to draw stuff on the form,
and when I set Opaque, what I draw is transparent as well. And I would
like it not to be.
I have also tried
SetStyle(ControlStyles.SupportsTransparentBackColor)
BackColor = Color.FromArgb(128, Color.Black);
But that only made the Black more gray... Probably because gray is the
default Form background or something..
Any ideas?