HTMLWindowEvents4::onsuspend Event

New for Internet Explorer 9

[This documentation is preliminary and is subject to change.]

Occurs if the load operation has been intentionally halted.

Syntax

void onsuspend(
    IHTMLEventObj *pEvtObj
);

Parameters

Return Value

No return value.

Event DISPID

DISPID_HTMLWINDOWEVENTS4_ONSUSPEND

The DISPID for this event is defined in mshtmdid.h. Use this value to identify the event handler when implementing IDispatch::Invoke.

Event Information

Bubbles No
Cancels No
To invoke None.
Default action N/A

Event Object Properties

The IHTMLEventObj interface contains additional information about the current event. When the onsuspend event is fired, you can use the IHTMLWindow2::event property to retrieve an IHTMLEventObj interface. To obtain an alternate interface pointer such as IHTMLEventObj2 or IHTMLEventObj3, call QueryInterface on the object.

Refer to the specific event object for additional event properties.

Remarks

This event occurs when the browser stops fetching data temporarily. (Not currently used by Internet Explorer 9.)

See Also

HTMLWindowEvents4::onstalled, HTMLWindowEvents4::onwaiting