Help Center

CWebView2.AddMoveFocusRequestedmethod

Adds an event handler for the MoveFocusRequested event.

WebViewmethoddocumented

Syntax

FUNCTION AddMoveFocusRequested ( BYVAL eventHandler AS Afx_ICoreWebView2MoveFocusRequestedEventHandler PTR, BYVAL token AS EventRegistrationToken PTR) AS HRESULT

Parameters

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

Description

Adds/removes an event handler for the MoveFocusRequested event.

Reference

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