Condividi tramite


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 [Automation].

Remarks

Applies to Internet Explorer and WebBrowser.

Requirements

Header: afxhtml.h

See Also

Reference

CHtmlView Class

Hierarchy Chart

IWebBrowser2::get_Application

Other Resources

CHtmlView Members