Skip to content

Commit cd3589d

Browse files
authored
Merge pull request #37 from mlipok/patch-1
Update 1-BasicDemo.au3
2 parents 629bd56 + 233c43b commit cd3589d

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

examples/1-BasicDemo.au3

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,23 +41,23 @@ Func Main()
4141
_NetWebView2_Initialize($oWebV2M, $hGUI, $sProfileDirectory, 0, 0, 0, 0, True, True, True, 1.2, "0x2B2B2B")
4242
__NetWebView2_Log(@ScriptLineNumber, "After: _NetWebView2_Initialize()", 1)
4343

44-
; navigate to HTML string - full fill the object with your own offline content - without downloading content
44+
; navigate to HTML string - full fill the object with your own offline content - without downloading any content
4545
_NetWebView2_NavigateToString($_g_oWeb, __GetDemoHTML())
4646

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

4949
WinMove($hGUI, '', Default, Default, 1100, 800)
5050
GUISetState(@SW_HIDE, $hGUI)
5151

52-
; navigate to a given URL - downloading online content
53-
_NetWebView2_Navigate($_g_oWeb, 'https://www.microsoft.com', $NETWEBVIEW2_MESSAGE__TITLE_CHANGED, 5*1000)
52+
; navigate to a given URL - online content
53+
;~ _NetWebView2_Navigate($_g_oWeb, 'https://www.microsoft.com', $NETWEBVIEW2_MESSAGE__TITLE_CHANGED, 5*1000)
5454
GUISetState(@SW_SHOW, $hGUI)
55-
5655
MsgBox($MB_TOPMOST, "TEST #" & @ScriptLineNumber, 'Watch Point')
56+
5757
; navigate to fake/broken url
5858
;~ _NetWebView2_Navigate($oWebV2M, 'htpppps://www.microsoft.com', $NETWEBVIEW2_MESSAGE__COMPLETED)
59-
6059
MsgBox($MB_TOPMOST, "TEST #" & @ScriptLineNumber, 'Watch Point')
60+
6161
; navigate to fake/broken url
6262
;~ _NetWebView2_Navigate($oWebV2M, 'https://w2ww.microsoft.com', $NETWEBVIEW2_MESSAGE__COMPLETED, 100)
6363
;~ __NetWebView2_Log(@ScriptLineNumber, "After: https://w2ww.microsoft.com", 1)

0 commit comments

Comments
 (0)