HTMLWindowEvents4::onprogress Event

New for Internet Explorer 9

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

Occurs to indicate progress while downloading media data.

Syntax

void onprogress(
    IHTMLEventObj *pEvtObj
);

Parameters

Return Value

No return value.

Event DISPID

DISPID_HTMLWINDOWEVENTS4_ONPROGRESS

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 Start playing audio or video from a website.
Default action N/A

Event Object Properties

The IHTMLEventObj interface contains additional information about the current event. When the onprogress 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.

Available Properties

IDOMProgressEvent::loaded New for Internet Explorer 9  Gets the number of bytes that have been received so far in the transfer operation.

Refer to the specific event object for additional event properties.

Remarks

This operation occurs while the video is loading.

See Also

IDOMProgressEvent::loaded