Skip to content

Latest commit

 

History

History
52 lines (37 loc) · 1.66 KB

icorewebview2customitemselectedeventhandler.md

File metadata and controls

52 lines (37 loc) · 1.66 KB
description title ms.date keywords topic_type api_name api_type api_location
Raised to notify the host that the end user selected a custom `ContextMenuItem`.
WebView2 Win32 C++ ICoreWebView2CustomItemSelectedEventHandler
05/20/2024
IWebView2, IWebView2WebView, webview2, webview, win32 apps, win32, edge, ICoreWebView2, ICoreWebView2Controller, browser control, edge html, ICoreWebView2CustomItemSelectedEventHandler
APIRef
ICoreWebView2CustomItemSelectedEventHandler
ICoreWebView2CustomItemSelectedEventHandler.Invoke
COM
embeddedbrowserwebview.dll

interface ICoreWebView2CustomItemSelectedEventHandler

[!INCLUDE deprecation-note]

interface ICoreWebView2CustomItemSelectedEventHandler
  : public IUnknown

Raised to notify the host that the end user selected a custom ContextMenuItem.

Summary

Members Descriptions
Invoke Provides the event args for the corresponding event.

CustomItemSelected event is raised on the specific ContextMenuItem that the end user selected.

Applies to

Product Introduced
WebView2 Win32 1.0.1185.39
WebView2 Win32 Prerelease 1.0.1189

Members

Invoke

Provides the event args for the corresponding event.

public HRESULT Invoke(ICoreWebView2ContextMenuItem * sender, IUnknown * args)

No event args exist and the args parameter is set to null.