Re: TabControl flicker issue

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



By overriding the CreateParams for the Form, i was able to get rid of
the Flickering completely

protected override CreateParams CreateParams {
get {
CreateParams cp = base.CreateParams;
cp.ExStyle |= 0x02000000;
return cp;
}
}

Regards,
Ankit!!
.



Relevant Pages

  • Flat Style - WS_EX_CLIENTEDGE
    ... I am trying to keep all forms, child forms, menus etc to have a flat ... style to mimic the look of the latest office product. ... I tried overriding the CreateParams function within the form as ... protected override CreateParams CreateParams ...
    (microsoft.public.dotnet.csharp.general)
  • Re: TabControl flicker issue
    ... By overriding the CreateParams property for the Form, ... get rid of the flickering completely. ... protected override CreateParams CreateParams { ...
    (microsoft.public.dotnet.framework.windowsforms)