Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
This an experimental API that is shipped with our prerelease SDK. See WebView2 release notes.
interface ICoreWebView2Experimental31
: public IUnknown
This interface is an extension of ICoreWebView2 to configure the window controls overlay.
Summary
| Members | Descriptions |
|---|---|
| get_WindowControlsOverlay | This getter API provides access to the window controls overlay object. |
Applies to
| Product | Introduced |
|---|---|
| WebView2 Win32 | N/A |
| WebView2 Win32 Prerelease | 1.0.3415 |
Members
get_WindowControlsOverlay
This getter API provides access to the window controls overlay object.
public HRESULT get_WindowControlsOverlay(ICoreWebView2ExperimentalWindowControlsOverlay ** value)
std::wstring sampleUri = appWindow->GetLocalUri(c_samplePath);
WebViewCreateOption options = appWindow->GetWebViewOption();
options.useWco = true;
AppWindow* appWindowWco = new AppWindow(appWindow->GetCreationModeId(), options, sampleUri);