The scroll bar of WebBrowser is not a general Windows scroll bar, which is unacceptable to APIs such as GetScrollPos or GetScrollInfo. The following code demonstrates how to access the scroll bar of the browser through an HTML interface in the VC. HRESULT hr; IDispatch * pDisp = GetHtmlDocument (); ASSERT (pDisp); // if NULL, we failed // get pointer Html Document IHTMLDocument2 * pDocument = NULL; hr = pDisp-> QueryInterface (IID_IHTMLDocument2, (void **) & pDocument ); Assert (pDocument); IHTMLELEMENT * PBODY = NULL; hr = pdocument-> get_body (& pbody); assert (pbody); // get ihtmlelement2 from Body; Interface pointer to access scroll bar htmlelement2 * pelement = null; hr = pbody-> queryinterface (IID_IHTMLELEMENT, (Void **) & pelement); assert (intelt); // Scroll 100 pixels pElement-> put_scrollTop (100); // get the scrollbar height long scroll_height; pElement-> get_scrollHeight (& scroll_height); // get the scroll bar width long scroll_height; pElement-> get_scrollWidth (& scroll_width); // get the position of the scrollbar Start up long scroll_top from the top; pelement-> get_scrolltop (& scroll_top); (reproduced)