Skip to content

Latest commit

 

History

History
48 lines (35 loc) · 1.58 KB

icorewebview2contextmenurequestedeventhandler.md

File metadata and controls

48 lines (35 loc) · 1.58 KB
description title ms.date keywords topic_type api_name api_type api_location
Receives `ContextMenuRequested` events.
WebView2 Win32 C++ ICoreWebView2ContextMenuRequestedEventHandler
07/31/2024
IWebView2, IWebView2WebView, webview2, webview, win32 apps, win32, edge, ICoreWebView2, ICoreWebView2Controller, browser control, edge html, ICoreWebView2ContextMenuRequestedEventHandler
APIRef
ICoreWebView2ContextMenuRequestedEventHandler
ICoreWebView2ContextMenuRequestedEventHandler.Invoke
COM
embeddedbrowserwebview.dll

interface ICoreWebView2ContextMenuRequestedEventHandler

[!INCLUDE deprecation-note]

interface ICoreWebView2ContextMenuRequestedEventHandler
  : public IUnknown

Receives ContextMenuRequested events.

Summary

Members Descriptions
Invoke Called to provide the event args when a context menu is requested on a WebView element.

Applies to

Product Introduced
WebView2 Win32 1.0.1185.39
WebView2 Win32 Prerelease 1.0.1189

Members

Invoke

Called to provide the event args when a context menu is requested on a WebView element.

public HRESULT Invoke(ICoreWebView2 * sender, ICoreWebView2ContextMenuRequestedEventArgs * args)