CHtmlView::GetApplication

Call this member function to retrieve the automation object supported by the application that contains the WebBrowser control.

LPDISPATCH GetApplication( ) 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

IWebBrowser2::get_Application