Re: Scrolling WebBroswer works, but not when it has proper DOCTYPE!

Tech-Archive recommends: Fix windows errors by optimizing your registry



I believe I must allow WM_PAINT to render the form, then it corrects
the problem, and THEN I have to scroll to the bottom. So, I went to
use Control.Update(), but this doesn't work. It "Causes the control
to redraw the invalidated regions within its client area", which
sounds like it forces an update. But, then, Control.Refresh() claims
it "Forces the control to invalidate its client area and immediately
redraw itself and any child controls", so it sounds like the one to
use. BUT, WebBroswer.Refresh() ERASES THE CONTENTS of the control!
Microsoft, please fix these damned bugs. So far I am on a chain of 5
bugs where each led to the next.

After WebBrowser.Write(), the WebBrowser.Invalidated event is NOT
raised.

Wow.

http://msdn2.microsoft.com/en-us/library/system.windows.forms.control.invalidated.aspx
"Occurs when a control's display requires redrawing."

Zytan

.



Relevant Pages

  • Re: activex issue - document image viewer - access 2003
    ... For your redraw issue, you can force a redaw of the control. ... ListBox needs to be repainted but Access seems to have missed the ... Private Declare Function InvalidateRect Lib "user32" (ByVal hWnd&, ...
    (comp.databases.ms-access)
  • Re: Change window update region
    ... in another app to redraw itself even when it is not visible. ... the control. ... these API it can look at the parameters and pull the text to be drawn ... control from which I am trying to extract text) is not visible either ...
    (microsoft.public.vb.general.discussion)
  • Re: Change window update region
    ... in another app to redraw itself even when it is not visible. ... the control. ... these API it can look at the parameters and pull the text to be drawn ... control from which I am trying to extract text) is not visible either ...
    (microsoft.public.vb.general.discussion)
  • Re: Change window update region
    ... The tool perhaps is using UpdateWindow() rather than sending WM_PAINT. ... in another app to redraw itself even when it is not visible. ... the control. ... these API it can look at the parameters and pull the text to be drawn ...
    (microsoft.public.vb.general.discussion)
  • Re: Graphics Performance Issue
    ... background image. ... redraw the graphics the computer can't keep up. ... control redraws the background each time I refresh which makes its ... you might have less parts spawning a redraw. ...
    (microsoft.public.dotnet.languages.vb)