Skip to content

Commit 89c6fc2

Browse files
authored
Update 1-BasicDemo.au3
1 parent 4fc533e commit 89c6fc2

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

examples/1-BasicDemo.au3

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,21 +46,22 @@ Func Main()
4646

4747
MsgBox($MB_TOPMOST, "TEST #" & @ScriptLineNumber, 'Watch Point')
4848

49-
WinMove($hGUI, '', Default, Default, 1100, 800)
5049
GUISetState(@SW_HIDE, $hGUI)
50+
WinMove($hGUI, '', Default, Default, 1100, 800)
5151

5252
; navigate to a given URL - online content
53-
;~ _NetWebView2_Navigate($_g_oWeb, 'https://www.microsoft.com', $NETWEBVIEW2_MESSAGE__TITLE_CHANGED, 5*1000)
53+
_NetWebView2_Navigate($_g_oWeb, 'https://www.microsoft.com', $NETWEBVIEW2_MESSAGE__TITLE_CHANGED, 5 * 1000)
5454
GUISetState(@SW_SHOW, $hGUI)
5555
MsgBox($MB_TOPMOST, "TEST #" & @ScriptLineNumber, 'Watch Point')
5656

5757
; navigate to fake/broken url
58-
;~ _NetWebView2_Navigate($oWebV2M, 'htpppps://www.microsoft.com', $NETWEBVIEW2_MESSAGE__COMPLETED)
59-
MsgBox($MB_TOPMOST, "TEST #" & @ScriptLineNumber, 'Watch Point')
58+
;~ _NetWebView2_Navigate($oWebV2M, 'htpppps://www.microsoft.com', $NETWEBVIEW2_MESSAGE__TITLE_CHANGED)
59+
;~ MsgBox($MB_TOPMOST, "TEST #" & @ScriptLineNumber, 'Watch Point')
6060

6161
; navigate to fake/broken url
62-
;~ _NetWebView2_Navigate($oWebV2M, 'https://w2ww.microsoft.com', $NETWEBVIEW2_MESSAGE__COMPLETED, 100)
62+
;~ _NetWebView2_Navigate($oWebV2M, 'https://w2ww.microsoft.com', $NETWEBVIEW2_MESSAGE__TITLE_CHANGED, 100)
6363
;~ __NetWebView2_Log(@ScriptLineNumber, "After: https://w2ww.microsoft.com", 1)
64+
;~ MsgBox($MB_TOPMOST, "TEST #" & @ScriptLineNumber, 'Watch Point')
6465

6566
; Main Loop
6667
While 1

0 commit comments

Comments
 (0)