看111222回复
http://www.csdn.net/expert/topic/455/455160.xml
http://www.csdn.net/expert/topic/439/439205.xml通过CHtmlView得到IHTMLWindow2过程如下:
一CHtmlView::GetHtmlDocument得到IHTMLDocument2接口
二IHTMLDocument2::get_parentWindow
HRESULT get_parentWindow(
    IHTMLWindow2 **p
);
三IHTMLWindow2::scroll