The OpenD Programming Language

ICoreWebView2Settings3

Undocumented in source.

Members

Functions

get_AreBrowserAcceleratorKeysEnabled
HRESULT get_AreBrowserAcceleratorKeysEnabled(BOOL* areBrowserAcceleratorKeysEnabled)

When this setting is set to FALSE, it disables all accelerator keys that access features specific to a web browser, including but not limited to: - Ctrl-F and F3 for Find on Page - Ctrl-P for Print - Ctrl-R and F5 for Reload - Ctrl-Plus and Ctrl-Minus for zooming - Ctrl-Shift-C and F12 for DevTools - Special keys for browser functions, such as Back, Forward, and Search

put_AreBrowserAcceleratorKeysEnabled
HRESULT put_AreBrowserAcceleratorKeysEnabled(BOOL areBrowserAcceleratorKeysEnabled)

Sets the AreBrowserAcceleratorKeysEnabled property.

Inherited Members

From ICoreWebView2Settings2

get_UserAgent
HRESULT get_UserAgent(LPWSTR* userAgent)

Returns the User Agent. The default value is the default User Agent of the Microsoft Edge browser.

put_UserAgent
HRESULT put_UserAgent(LPCWSTR userAgent)

Sets the UserAgent property. This property may be overridden if the User-Agent header is set in a request. If the parameter is empty the User Agent will not be updated and the current User Agent will remain. Returns HRESULT_FROM_WIN32(ERROR_INVALID_STATE) if the owning WebView is closed.

Meta