I’m trying handle key press event from my webview2 inside a Qt widget since the WebView2 control is based on the Component Object Model (COM). I’m trying to use
IUnknown to wrap this inside a
QAxWidget to get access to the COM object and fetch the webview event from my main window event handler.
Do you have any idea on how to handle this ?
Source: Windows Questions C++