Fires before navigation occurs in the given object (on either a window element or a frameset element).
The BeforeNavigate2
event replaces the BeforeNavigate
and FrameBeforeNavigate events
, which should no longer be used. The pDisp
parameter that specifies the corresponding WebBrowser object identifies where the navigation is to occur. Microsoft Internet Explorer 3.0 required the FrameBeforeNavigate and a target frame name to identify the target of navigation. However, this solution was ambiguous, because frame names are not unique.