ExStyles Property



 
The ExStyles property contains the extended window styles of the dialog.


Syntax

    SKHtmlDialog.ExStyles [=dword]
Possible Values
    DWORD value that specifies or retrieves the extended styles.

    The property is read/write.
Remarks
    Please note that Javascript in IE9 cannot handle the hexadecimal 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.

    Possible extended window styles are:

    WS_EX_DLGMODALFRAME = 1 (= 0x00000001)
    WS_EX_NOPARENTNOTIFY = 4 (= 0x00000004)
    WS_EX_TOPMOST = 8 (= 0x00000008)
    WS_EX_ACCEPTFILES = 16 (= 0x00000010)
    WS_EX_TRANSPARENT = 32 (= 0x00000020)
    WS_EX_MDICHILD = 64 (= 0x00000040)
    WS_EX_TOOLWINDOW = 128 (= 0x00000080)
    WS_EX_WINDOWEDGE = 256 (= 0x00000100)
    WS_EX_CLIENTEDGE = 512 (= 0x00000200)
    WS_EX_CONTEXTHELP = 1024 (= 0x00000400)
    WS_EX_RIGHT = 4096 (= 0x00001000)
    WS_EX_LEFT = 0 (= 0x00000000)
    WS_EX_RTLREADING = 8192 (= 0x00002000)
    WS_EX_LTRREADING = 0 (= 0x00000000)
    WS_EX_LEFTSCROLLBAR = 16384 (= 0x00004000)
    WS_EX_RIGHTSCROLLBAR = 0 (= 0x00000000)
    WS_EX_CONTROLPARENT = 65536 (= 0x00010000)
    WS_EX_STATICEDGE = 131072 (= 0x00020000)
    WS_EX_APPWINDOW = 262144 (= 0x00040000)
    WS_EX_LAYERED = 524288 (= 0x00080000)
    WS_EX_NOINHERITLAYOUT = 1048576 (= 0x00100000)
    WS_EX_LAYOUTRTL = 4194304 (= 0x00400000)
    WS_EX_COMPOSITED = 33554432 (= 0x02000000)
    WS_EX_NOACTIVATE = 134217728 (= 0x08000000)
    WS_EX_OVERLAPPEDWINDOW = 768 (= WS_EX_WINDOWEDGE | WS_EX_CLIENTEDGE)
    WS_EX_PALETTEWINDOW = 392 (= WS_EX_WINDOWEDGE | WS_EX_TOOLWINDOW | WS_EX_TOPMOST)

    See Extended Window Styles (MSDN) for further information.
Examples
    The following example uses the ExStyle property to create a dialog with a special border.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    var MY_WND_STYLE = 513; //WS_EX_DLGMODALFRAME | WS_EX_CLIENTEDGE
    mydialog = SiteKiosk.SiteKioskUI.CreateHTMLDialog();
    mydialog.URL = "http://www.myaddress.com";
    mydialog.ExStyles = MY_WND_STYLE;
    mydialog.ShowDialog();
    </SCRIPT>
    

Applies to
    SiteKiosk v5.5 (and later versions).

Back to top