Platform SDK: Web Telephony Engine |
A Web telephony application receives all the standard events fired by Internet Explorer . For example, the onunload event is fired automatically when a page is unloaded. In the event handler for this event you can write custom code, such as restoring configuration parameters when a page is loaded.
Note that the WTE may start rendering a page before firing the onload event. If you need a script to run before the WTE starts rendering a page, either use an immediate script or associate an event handler with an automatically clicked button placed at the beginning of the page.
When running under the WTE, an application should not use standard events related to user-interface (UI) behaviors of the graphical Web browser. These include events such as onfocus, onblur, onmouseover, and so on.
For more information about standard events, see the Web Workshop on the Microsoft Developer Network (MSDN) Web site.