0 Replies - 8977 Views - Last Post: 16 March 2012 - 05:27 AM

#1 JohnBoyMan  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 27
  • Joined: 24-February 12

tab page flickers in my form

Posted 16 March 2012 - 05:27 AM

Hello all. I am working with windows forms in c++/cli. I am trying to use a tabcontrol, with tabs. When i have a background image behind my tabs, the tabs will flicker when i click on them. I have read about using this in my forms main constructor will clear it up.

this->DoubleBuffered = true;

this->SetStyle(ControlStyles::AllPaintingInWmPaint |

ControlStyles::UserPaint |

ControlStyles::OptimizedDoubleBuffer, true);


The code i wrote above does not work.
I have also read about making a new class with the tabcontrol and an extended class,then overloading its functions somehow. But i don't know, any help please this is making my whole project look bad. thanks again, for any advice.

Is This A Good Question/Topic? 0
  • +

Page 1 of 1