WebBrowser Scroll Position -
12-28-2007
, 06:01 PM
I'm using a WebBrowser in my app, and the content needs to be updated
frequently (the content is generated by my app).
I do not want to lose the scroll position after each update since this is
annoying for the user.
Therefore I'm looking for a way to determine the current scroll position
before updating, since I can easily move the WebBrowser to the desired
scroll position after the update by calling
WebBrowser.Document.Window.ScrollTo(0, iOldValue).
Any help is greatly appreciated,
Thomas |