OnMinMax Event



 
Fires when a window is minimized or maximized.


Syntax

    SiteKiosk.WindowList.OnMinMax = handler
Parameters
    skwin WindowInfo object that represents the activated window.
    showflags Long value that contains the show flags.
Remarks
    None.

    The object that caused the event can be referenced in the event function using "this".
Examples
    The following example shows an alert window when a window is minimized or maxmized.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.WindowList.OnMinMax = OnMinMax;
    function OnMinMax(skwin, showflags)
    {
       alert("new show flags: " + showflags);
    }
    </SCRIPT>
    

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

Back to top