-
Notifications
You must be signed in to change notification settings - Fork 2
Description
What feature would you like, or what problem are you facing?
Each function that manage/maintain EVENTs should pass as a parameter a reference to the object and the window handle that triggers the event.
This is needed, for example, to manage events coming from multiple instances.
What's your proposed solution?
NetWebView2Lib/NetWebView2Lib.au3
Line 621 in 6bc6ff3
| #TODO => Func __NetWebView2_WebViewEvents__OnMessageReceived(ByRef $oWebV2M, $hGUI, $sMsg) |
NetWebView2Lib/NetWebView2Lib.au3
Line 784 in 6bc6ff3
| #TODO => Func __NetWebView2_JSEvents__OnMessageReceived(ByRef $oWebV2M, ByRef $oWebJS, $hGUI, $sMsg) |
NetWebView2Lib/NetWebView2Lib.au3
Line 887 in 6bc6ff3
| #TODO => Func __NetWebView2_WebViewEvents__OnContextMenuRequested(ByRef $oWebV2M, $sLink, $iX, $iY, $sSelection) |
Please note that the provided code links are not complete as not all of them contain a reference to $hGUI, but they should.
btw.
all others events as so far not implemented in UDF should also pass such kind of parameters
Screenshots
No response
Do you want to work on this issue/improvement?
Maybe
Any additional context?
as an example take a look here:
https://learn.microsoft.com/en-us/office/client-developer/access/desktop-database-reference/event-parameters