DWebBrowserEvents2::NavigateError
The NavigateError event method fires when a binding error occurs, with a window or frameset element.
Note Windows Mobile-based Smartphones do not support frames.
Syntax
void NavigateError(
IDispatch* pDisp,
VARIANT* pvtURL,
VARIANT* pvtFrame,
VARIANT* pvtStatusCode,
VARIANT_BOOL* pvbCancel
);
Parameters
- pDisp
[in] Pointer to an IDispatch interface for the WebBrowser object that represents the window or frame in which the navigation error occurred. - pvtURL
[in] Pointer to a VARIANT structure of type VT_BSTR that contains the URL for which navigation failed. - pvtFrame
[in] Pointer to a VARIANT structure of type VT_BSTR that contains the name of the frame in which the resource is to be displayed, or NULL if no named frame was targeted for the resource. - pvtStatusCode
[in] Pointer to a VARIANT structure of type VT_I4 containing an error status code, if available. - pvbCancel
[in,out] Pointer to a VARIANT_BOOL value that specifies VARIANT_TRUE to cancel the navigation.
Return Values
None.
Event DISPID
DISPID_NAVIGATEERROR
The DISPID for this event is defined in piedocvw.h. Use this value to identify the event handler when implementing IDispatch::Invoke.
Requirements
Pocket PC: Windows Mobile Version 5.0 and later
Smartphone: Windows Mobile Version 5.0 and later
OS Versions: Windows CE 5.01 and later
Header: piedocvw.h
Library: piedocvw.lib
See Also
Send Feedback on this topic to the authors