Skip to content

Commit 425abb6

Browse files
authored
Update 002-Html_Gui.au3
1 parent 660a29d commit 425abb6

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

examples/002-Html_Gui.au3

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,12 @@ Func _Create_Form(ByRef $oWebV2M, ByRef $oBridge)
7575
$oBridge = _NetWebView2_GetBridge($oWebV2M, "__USER_Events_Bridge_")
7676
#forceref $oBridge
7777

78+
GUISetState(@SW_SHOW, $hGUI)
79+
7880
Local $sHTML = "<html><head><meta charset='UTF-8'><style>:" & __FormCSS() & "</style></head><body>" & __FormHTML() & "</body></html>"
7981
_NetWebView2_NavigateToString($oWebV2M, $sHTML, $NETWEBVIEW2_MESSAGE__TITLE_CHANGED, "", 5000)
80-
GUISetState(@SW_SHOW, $hGUI)
82+
ConsoleWrite("After: _NetWebView2_NavigateToString()" & @CRLF)
83+
8184
EndFunc ;==>_Create_Form
8285

8386
; Injects a temporary notification box into the web page

0 commit comments

Comments
 (0)