Tab Control/Web Browser Control Flicker

  • Thread starter Thread starter Justin Echternach
  • Start date Start date
J

Justin Echternach

Hi,

I have a tab control with a web browser control embedded in the first tab
page. Whenever I resize the tab control the tab itself and web browser
control flicker like crazy. Is there anyway to eliminate this flicker?

Thanks in advance.

Justin
 
Update ...

I used spy++ and found that the tab control itself has the CS_VREDRAW and
CS_HREDRAW bits set. Since this is set by the Window ClassName I cannot
override in CreateParams. I resorted to using the windows api function
SetClassLong to remove the bits. This worked in removing the bits as I
witnessed in spy++, but it did not correct the flickering issue. It is
definitely the tab control that is the issue. If I place the web browser
control directly on a form and resize it there is no flicker. I guess a
custom tab control is in order here.

Justin
 
Back
Top