Share via


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

Reference

CHtmlView Class

Hierarchy Chart

CHtmlView::GetTopLevelContainer

IWebBrowser2::get_Container

Other Resources

CHtmlView Members