The OpenD Programming Language

ICoreWebView2Settings.get_AreDefaultContextMenusEnabled

The AreDefaultContextMenusEnabled property is used to prevent default context menus from being shown to user in WebView. The default value is TRUE.

\snippet SettingsComponent.cpp DisableContextMenu

interface ICoreWebView2Settings
@" propget"
HRESULT
get_AreDefaultContextMenusEnabled
(
BOOL* enabled
)

Meta