I need to get information about the scrollbars (position, size, visibility) of a Webbrowser control of an external application, I tried using the GetScrollBarInfo function from my previous question, but the function always return false, I checked this function with another applications and works fine , but not with the IE or the Webbrowser control. So how I can get information about the scrollbars of an Webbrowser control instance or the IE Webbrowser?
I need to get information about the scrollbars (position, size, visibility) of a Webbrowser
Share
Here is how you can know whether the scrollbars are visible or not. Some error checking missed for brevity.
Possible values for bstrText are “yes”, “no”, “auto” (scroll bars are shown when the page content exceeds the client area)
And here is how you can know the current scroll position: