Skip to content

Commit 3cc7eb3

Browse files
authored
Update README.md
1 parent 1f7be45 commit 3cc7eb3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ var sciterFolder = Environment.CurrentDirectory; // you need specify folder wher
2525
var host = new SciterAPIHost ( sciterFolder ); // create host and load API
2626
host.EnableDebugMode(); // enable debug mode
2727
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)
2929
host.AddWindowEventHandler ( new SciterEventHandler ( host.MainWindow, host ) ); // create and register window Event Handler (via event handler you can handle events from windows or elements)
3030
host.LoadFile ( "file://path/my.html" ); // load HTML page, path specified in first argument
3131
host.Process (); // start sciter and run main loop for show main window

0 commit comments

Comments
 (0)