The OpenD Programming Language

ICoreWebView2.add_WindowCloseRequested

Add an event handler for the WindowCloseRequested event. WindowCloseRequested triggers when content inside the WebView requested to close the window, such as after window.close is run. The app should close the WebView and related app window if that makes sense to the app.

\snippet AppWindow.cpp WindowCloseRequested

interface ICoreWebView2
HRESULT
add_WindowCloseRequested

Meta