Windows Develop Bookmark and Share   
 index > Windows Forms Designer > Changing Opacity causes black flickering
 

Changing Opacity causes black flickering

Hi,

I have a form, where I want it to be transparent.

I am changing the Opacity and performs "CopyFromScreen".

When I change the opacity, the form flickers.

I have tried all the SetStyle..

SetStyle(ControlStyles.UserPaint, true);

SetStyle(ControlStyles.AllPaintingInWmPaint, true);

SetStyle(ControlStyles.DoubleBuffer, true);

SetStyle(ControlStyles.OptimizedDoubleBuffer, true);

SetStyle(ControlStyles.SupportsTransparentBackColor, true);

Thanks in advance

Idit

Idit  Monday, May 21, 2007 3:11 PM
Pr.Wael  Sunday, May 27, 2007 11:42 AM
Hi. You Can Check Following thread link which i solved this problem before . With my best wishes
Pr.Wael  Sunday, May 27, 2007 11:41 AM
Pr.Wael  Sunday, May 27, 2007 11:42 AM

You can use google to search for other answers

Custom Search

More Threads

• Listview control selecting all items on addition
• how to open instance of Ms Project
• Find controls on a windows form
• Design view crashes when Visual Studio is previously closed with our forms open
• Noob question about Composite Controls
• Unable to display Form Designer or build any projects.
• Design-time functionality at run-time
• Proper way to set parent of control dropped on a custom root designer?
• Reg:Windows Sidebar Gadget Manifest Name!!!
• VS2005 - Form Design error !