Re: WPF - Get scrollbar position of WebBrowser control

2013-09-09 Thread Ben Scott
MarkPad does this to sync the position of the editor and preview. It uses Chromium but you might be able to find something useful. I don't recall exactly how it works but you would look in the preview view. https://github.com/Code52/DownmarkerWPF On 10/09/13 10:18 AM, Jim Baker wrote: Hel

WPF - Get scrollbar position of WebBrowser control

2013-09-09 Thread Jim Baker
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