Re: How to stop WebBrowser flickering ? [ C# ]

From: Mike (Mike_at_discussions.microsoft.com)
Date: 08/18/04


Date: Wed, 18 Aug 2004 09:57:03 -0700

Hi! Thank you for taking a look. BeforeNavigate event is not an option on this
rather stupid site. It cycles through several pages, some of them are
briefly shown to the users. Since my app has more of a desktop app feel and
look, I'd like to stop
the browser from painting.

"Matthias Kwiedor" wrote:

> "=?Utf-8?B?TWlrZQ==?=" <Mike@discussions.microsoft.com> wrote in
> news:086F7E14-03EE-4C38-AE63-0326E5A6E671@microsoft.com:
>
> > Hi! The application I am working with uses a lot of redirection,
> > sometimes up to 6-7 times. Is there a way to force the browser control
> > to stop repainting itself ?
> >
> > I tried LockWindowUpdate() API, but it stops progress bar from working
> > since it works on the entire window.
> >
> > Many Thanks for your help,
> >
> > --Mike
> >
>
> Hi!
>
> What are you exactly doing? If you need them only for redirect, maybe you
> can use OnBeforeNavigate (BeforeNavigate) to redirect.
>
> Then the Page won't be rendered and you should have no flickering!
>
>
> Greets
>
>
> Matthias
>