Transparent Panel (C#, .net 2.0)
Date: 09/07/05
(C Sharp) Keywords: google
Hi all,
while trying to organize a transparent panel for one of the controls, faced another problem with Windows Forms Controls - can't make it transparent.
I found a way around it (thank Google) to ovveride these two:
protected override void OnPaint(PaintEventArgs e)
{
//
}
protected override CreateParams CreateParams
{
get {
CreateParams cp = base.CreateParams;
cp.ExStyle |= 0x20;
return cp;
}
}
It sort of help, but there are two issues with this:
there is still a part of the panel that is NOT transparent (over one of the controls) and when the Panel is resized etc, it horribly blinks.
Is there another way to organize proper transparency for Panel?
Source: http://www.livejournal.com/community/csharp/34775.html