HTMLWindowEvents4::onseeking Event

New for Internet Explorer 9

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

Occurs when the current playback position is moved.


void onseeking(
    IHTMLEventObj *pEvtObj


Return Value

No return value.



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 Use the playback controls to change the current position.
Default action N/A

Event Object Properties

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


The IHTMLMediaElement::seeking property changes to VARIANT_TRUE during this operation.

See Also

HTMLWindowEvents4::onseeked, IHTMLMediaElement::seeking