Help Center

CWebView2.RemoveFrameNavigationStartingmethod

Remove an event handler previously added with AddFrameNavigationStarting.

WebViewmethoddocumented

Syntax

FUNCTION RemoveFrameNavigationStarting (BYVAL token AS EventRegistrationToken) AS HRESULT
Also documented as AddFrameNavigationStarting — one description covers them all.

Parameters

NameDescription
eventHandlerPointer to an ICoreWebView2NavigationStartingEventHandler.
tokenToken that uniquely identifies the subscription.

Description

Adds/removes an event handler for the FrameNavigationStarting event.

Reference

  • Defined in AfxNova/CWebView2.inc:1274
  • Documented in WebView/CWebWiew2 Class.md
  • Topic: CWebView2 Class