Justin
Fri Feb 27 13:05:34 CST 2004
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
"Justin Echternach" <jechternach@hotmail.com> wrote in message
news:ufdmKAK$DHA.2516@TK2MSFTNGP11.phx.gbl...
> I found this article ...
>
>
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q183/2/10.ASP&NoWebContent=1
>
> Not sure if it applies, but I tried to implement the workaround by
> overriding the TabPage CreateParams read only property and ensuring that
the
> ClassStyle property CS_VREDRAW and CS_HREDRAW bits are not set. By
default
> they are not, so that is not the solution.
>
> Just some more info.
>
> Thanks,
>
> Justin
>
> "Justin Echternach" <jechternach@hotmail.com> wrote in message
> news:OVLoWsJ$DHA.3184@TK2MSFTNGP09.phx.gbl...
> > 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
> >
> >
>
>