Freigeben über


CHtmlView::GetContainer

Call this member function to retrieve an object that evaluates to the container of the web browser.

LPDISPATCH GetContainer( ) const;

Return Value

A pointer to the IDispatch interface of the active document object. For more information, see Implementing the IDispatch Interface.

Remarks

Applies to Internet Explorer and WebBrowser.

Requirements

Header: afxhtml.h

See Also

Concepts

CHtmlView Class

CHtmlView Members

Hierarchy Chart

CHtmlView::GetTopLevelContainer

IWebBrowser2::get_Container