CreateBrowserWindowEx Method



 
The CreateBrowserWindowEx method creates a new browser window and allows to set the window styles.


Syntax

    [obj=] SiteKiosk.SiteKioskUI.CreateBrowserWindowEx(style,styleex)
Parameters
    style DWORD value that specifies the style of the window.
    styleex DWORD value that specifies the extended style of the window.
Return Value Remarks Examples
    The following example creates a new browser window without window frames that is topmost.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    
    var MY_WND_STYLE = 2516582400; //WS_POPUP | WS_VISIBLE | 
    WS_CLIPSIBLINGS| WS_CLIPCHILDREN
    var MY_WND_STYLEEX = 8; //WS_EX_TOPMOST
    
    var MY_DIALOG = SiteKiosk.SiteKioskUI.CreateBrowserWindowEx
    (MY_WND_STYLE,MY_WND_STYLEEX);
    
    MY_DIALOG.SiteKioskWebBrowser.Navigate("http://www.provisio.com/");
    MY_DIALOG.Move(20,200,300,200);
    MY_DIALOG.Show();
    </SCRIPT>
    

Applies to
    SiteKiosk v8.8 (and later versions).

Back to top