HTMLWindowEvents2 interface
TBD.
Members
The HTMLWindowEvents2 interface inherits from the IUnknown interface. HTMLWindowEvents2 also has these types of members:
Events
The HTMLWindowEvents2 interface has these events.
| Event | Description |
|---|---|
| onafterprint |
Fires on the object immediately after its associated document prints or previews for printing. |
| onbeforeprint |
Fires on the object before its associated document prints or previews for printing. |
| onbeforeunload |
Fires prior to a document being unloaded. |
| onblur |
Fires when the object loses the input focus. |
| onerror |
Fires when an error occurs during object loading. |
| onfocus |
Fires when the object receives focus. |
| onhelp |
Fires when the user presses the F1 key while the client is the active window. |
| onload |
Fires immediately after the client loads the object. |
| onresize |
Fires when the size of the object is about to change. |
| onscroll |
Fires when the user repositions the scroll box in the scroll bar on the object. |
| onunload |
Fires immediately before the object is unloaded. |
Send comments about this topic to Microsoft
Build date: 1/23/2012