This method of the DWebBrowserEventsEventListener interface fires before a navigation occurs in the given WebBrowser control (on either a window or frame set element).
public void BeforeNavigate(java.lang.String URL, int Flags,
java.lang.String TargetFrameName, com.ms.com.Variant PostData,
java.lang.String Headers, boolean[] Cancel);
URL | [in] The URL to be navigated to. |
Flags | [in] Reserved for future use. |
TargetFrameName | [in] The string that contains the name of the frame in which to display the resource, or NULL if no named frame is targeted for the resource. |
PostData | [in] The address of data to send to the server if the HTTP POST transaction is being used. |
Headers | [in] Additional HTTP headers to send to the server (HTTP URLs only). The headers can specify things such as the action required of the server, the type of data being passed to the server, or a status code. |
Cancel | [out] The address of a cancel flag. An application can set this parameter to TRUE to cancel the navigation operation, or to FALSE to allow it to proceed. |