The hard way is to implement the IDocHostUIHandler interface and respond to the GetHostInfo request by setting the DOCHOSTUIFLAG_SCROLL_NO bit in the dwFlags member of the DOCHOSTUIINFO Structure. FWIW, the MFC7 implementation of CHtmlView comes with a built-in IDocHostUIHandler. 2) The easy way, if you have control over the html that your browser instances will display is to set the <BODY scroll=no> property in script. 3) The next to easiest way is to do it through the IHTMLBodyElement in your code.
request by setting the DOCHOSTUIFLAG_SCROLL_NO bit in the dwFlags member of the DOCHOSTUIINFO
Structure. FWIW, the MFC7 implementation of CHtmlView comes with a built-in IDocHostUIHandler. 2)
The easy way, if you have control over the html that your browser instances will display is to set
the <BODY scroll=no> property in script. 3) The next to easiest way is to do it through the
IHTMLBodyElement in your code.