Skip to content

Commit c924b64

Browse files
authored
Update NetWebView2Lib.au3
1 parent beeb326 commit c924b64

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

NetWebView2Lib.au3

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1354,6 +1354,14 @@ Volatile Func __NetWebView2_Events__OnMessageReceived($oWebV2M, $hGUI, $sMsg)
13541354
__NetWebView2_Log(@ScriptLineNumber, $s_Prefix & ' COMMAND:' & $sCommand, 1)
13551355
__NetWebView2_LastMessageReceived($oWebV2M, $NETWEBVIEW2_MESSAGE__DOWNLOAD_STARTING)
13561356

1357+
Case "BROWSER_GOT_FOCUS"
1358+
__NetWebView2_Log(@ScriptLineNumber, $s_Prefix & ' COMMAND:' & $sCommand, 1)
1359+
__NetWebView2_LastMessageReceived($oWebV2M, $NETWEBVIEW2_MESSAGE__BROWSER_GOT_FOCUS)
1360+
1361+
Case "BROWSER_LOST_FOCUS"
1362+
__NetWebView2_Log(@ScriptLineNumber, $s_Prefix & ' COMMAND:' & $sCommand, 1)
1363+
__NetWebView2_LastMessageReceived($oWebV2M, $NETWEBVIEW2_MESSAGE__BROWSER_LOST_FOCUS)
1364+
13571365
Case "ERROR"
13581366
__NetWebView2_Log(@ScriptLineNumber, $s_Prefix & ' ! CRITICAL ERROR:' & $sData, 1)
13591367
__NetWebView2_LastMessageReceived($oWebV2M, $NETWEBVIEW2_MESSAGE__CRITICAL_ERROR)
@@ -1797,7 +1805,7 @@ EndFunc ;==>__NetWebView2_Events__OnProcessFailed
17971805

17981806
; #INTERNAL_USE_ONLY# ===========================================================================================================
17991807
; Name ..........: __NetWebView2_Events__OnBasicAuthenticationRequested
1800-
; Description ...: event is raised when WebView encounters a Basic HTTP Authentication request as described in https://developer.mozilla.org/docs/Web/HTTP/Authentication, a Digest HTTP Authentication request as described in https://developer.mozilla.org/docs/Web/HTTP/Headers/Authorization#digest, an NTLM authentication or a Proxy Authentication request.
1808+
; Description ...: event is raised when WebView encounters a Basic HTTP Authentication request as described in https://developer.mozilla.org/docs/Web/HTTP/Authentication, a Digest HTTP Authentication request as described in https://developer.mozilla.org/docs/Web/HTTP/Headers/Authorization#digest, an NTLM authentication or a Proxy Authentication request.
18011809
; Syntax ........: __NetWebView2_Events__OnBasicAuthenticationRequested($oWebV2M, $hGUI, $oArgs)
18021810
; Parameters ....: $oWebV2M - an object.
18031811
; $hGUI - a handle value.

0 commit comments

Comments
 (0)