CHtmlView::GetContainer

调用该成员函数检索计算到浏览器的容器的对象。

LPDISPATCH GetContainer( ) const;

返回值

为活动状态的 IDispatch 接口的指针文档对象。

备注

适用于Internet Explorer和浏览器。

要求

Header: afxhtml.h

请参见

参考

CHtmlView选件类

层次结构图

CHtmlView::GetTopLevelContainer

IWebBrowser2::get_Container