You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ var sciterFolder = Environment.CurrentDirectory; // you need specify folder wher
25
25
varhost=newSciterAPIHost ( sciterFolder ); // create host and load API
26
26
host.EnableDebugMode(); // enable debug mode
27
27
host.EnableFeatures(); // enable all feature by default, or you can pass you set via parameter
28
-
host.CreateWindow ( asMain: true ); // create main window and enable debug mode and sciter features (like access to system in JavaScript)
28
+
host.CreateWindow ( asMain: true ); // create window (asMain mean pointer will be store in host.MainWindow property, instead you need to store it youself via returned variable)
29
29
host.AddWindowEventHandler ( newSciterEventHandler ( host.MainWindow, host ) ); // create and register window Event Handler (via event handler you can handle events from windows or elements)
30
30
host.LoadFile ( "file://path/my.html" ); // load HTML page, path specified in first argument
31
31
host.Process (); // start sciter and run main loop for show main window
0 commit comments