Tab Control/Web Browser Control Flicker

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
 
J

Justin Echternach

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top