2 Replies Latest reply: Sep 10, 2010 2:35 PM by George_Johnson RSS

    getting scroll position through IWebBrowser2

    Daktor Community Member

      I have a window using an IE Active X control.  I need to know the scroll position of the vertical scrollbar.

      I used this thread to find how to get the scroll position with IWebBrowser2: link

      The above info does not work when the user browses to a pdf page because querying for the IHTMLDocument2 fails.

      I can successfully query for an IAcroAxDocShim interface, but not sure what to do with it.

      How can you get the scroll position when the user browses to a pdf doc?

      Thanks!