CHtmlView::GetContainer

LPDISPATCH GetContainer() const;

返回值:
指向活动的文档对象的IDispatch界面的指针。

说明:
调用此成员函数以获得WebBrowser包容器赋值的对象。
适用于Internet Explorer和WebBrowser。

请参阅:
CHtmlView::GetTopLevelContainer, IWebBrowser2::get_Container