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