Hello All,

I have a WebBrowser control in my WPF application (Yes some of us still write 
WPF apps !) and I need to find out the x,y positions of the scrollbars.

I'm using this to set the scroll position

mshtml.IHTMLDocument2 doc = WebBrowser1.Document as mshtml.IHTMLDocument2;

doc.parentWindow.scrollBy(x,y);   // x and y  passed in to the method.

Sometimes I need to save the scroll positions when scrolling stops for saving 
for use later in the program.  

Any assistance appreciated :)

Thanks, Jim

Reply via email to