# 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 Returns a SiteKioskWindow object that represents the new browser window. Remarks The new browser window will be visible. The style parameter accepts the following values: http://msdn.microsoft.com/en-us/library/windows/desktop/ms632600%28v=vs.85%29.aspx. You may also have a look at the page for the Styles property of the SKHtmlDialog object. The extended style (styleex) parameter accepts the following values: http://msdn.microsoft.com/en-us/library/windows/desktop/ff700543%28v=vs.85%29.aspx. You may also have a look at the page for the ExStyles property of the SKHtmlDialog object. Please note that Javascript in IE9 cannot handle the hexadecimal version of the values any longer and you need to use the decimal values. If you need to create a dialog that uses more than one value you have to do the Or-function with the help of a calculator. 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