createparams

Flickering in a Windows Forms app

I have an app that has a ton of controls on it. And it has a massive amount of flicker, particularly on startup. I applied the fix to it. protected override CreateParams CreateParams { get { CreateParams cp = base.CreateParams; cp.ExStyle |= 0x02000000; // WS_EX_COMPOSITED ...

Valid use of bitwise operators for CreateParams, undesired behavior?

I am writing a wrapper for the ProgressBar control (not really a true wrapper, but implementing Vista features properly). And here is my code: /// <summary> /// Encapsulates the information needed when creating a control /// </summary> protected override CreateParams CreateParams { [SecurityPermission(SecurityAct...