Skip to content

Commit d9e2071

Browse files
authored
Update 007-HTTP_StatusCodeTracking.au3
1 parent 35e4813 commit d9e2071

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/007-HTTP_StatusCodeTracking.au3

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ Func _Example_HTTP_Tracking()
3434
; Very important to prevent the GUI from getting stuck by hundreds of requests (images, scripts, etc.)
3535
$oWebV2M.HttpStatusCodeDocumentOnly = True
3636

37+
GUISetState(@SW_SHOW)
3738
; Testing with a non-existent page to see the 404
3839
_NetWebView2_Navigate($oWebV2M, "https://google.com/this-page-does-not-exist")
3940

40-
GUISetState(@SW_SHOW)
41-
41+
__Example_Log(@ScriptLineNumber, "END - close window to exit" & @CRLF)
4242
While 1
4343
Switch GUIGetMsg()
4444
Case $GUI_EVENT_CLOSE

0 commit comments

Comments
 (0)