SiteKiosk Documentation
One Step Back

OnTrayIcon Event




Fires when the tray icon is displayed.


Syntax

    SiteCafe.OnTrayIcon = handler
    
Parameters
    mouseXLong value that contains the horizontal mouse position.
    mouseYLong value that contains the vertical mouse position.
    eventLong value that contains the window message.
Remarks
    The object that caused the event can be referenced in the event function using "this".
Examples
    See Window Notifications (MSDN) fur further information about possible events.

    The following example displays an alert window when the tray icon is displayed.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteCafe.OnTrayIcon = OnTrayIcon;
    function OnTrayIcon(mouseX, mouseY, event)
    {
       alert("mouseX: " + mouseX);
       alert("mouseY: " + mouseY);
       alert("event: " + event);
    }
    </SCRIPT>
    

Applies to
    SiteKiosk v6.2 (and later versions).

Back to topBack to top

© 1997-2010 PROVISIO - Aventura, USA & Muenster, Germany - SiteKiosk DevTeam