Re: Scrolling WebBroswer works, but not when it has proper DOCTYPE!
- From: "Zytan" <zytanlithium@xxxxxxxxx>
- Date: 29 Mar 2007 08:06:21 -0700
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
.
- Follow-Ups:
- References:
- Scrolling WebBroswer works, but not when it has proper DOCTYPE!
- From: Zytan
- Re: Scrolling WebBroswer works, but not when it has proper DOCTYPE!
- From: Zytan
- Re: Scrolling WebBroswer works, but not when it has proper DOCTYPE!
- From: Zytan
- Re: Scrolling WebBroswer works, but not when it has proper DOCTYPE!
- From: Zytan
- Re: Scrolling WebBroswer works, but not when it has proper DOCTYPE!
- From: Zytan
- Re: Scrolling WebBroswer works, but not when it has proper DOCTYPE!
- From: Zytan
- Re: Scrolling WebBroswer works, but not when it has proper DOCTYPE!
- From: Zytan
- Re: Scrolling WebBroswer works, but not when it has proper DOCTYPE!
- From: Zytan
- Scrolling WebBroswer works, but not when it has proper DOCTYPE!
- Prev by Date: Re: Is this easy locking of a Hashtable's element too good to be true?
- Next by Date: Re: newbie in C# 2003, saving Asian characters to database problem
- Previous by thread: Re: Scrolling WebBroswer works, but not when it has proper DOCTYPE!
- Next by thread: Re: Scrolling WebBroswer works, but not when it has proper DOCTYPE!
- Index(es):
Relevant Pages
|