IHTMLDocument2::get_onreadystatechange
IHTMLDocument2

IHTMLDocument2::get_onreadystatechange


HRESULT get_onreadystatechange(
    VARIANT *p
);

Retrieves the inline script associated with the onreadystatechange event on the object.

p
Address of a VARIANT structure to store the script.

See also put_onreadystatechange

IHTMLDocument2::put_onafterupdate

HRESULT put_onafterupdate(
    VARIANT v
);

Sets the inline script associated with the onafterupdate event on the object.

v
VARIANT structure containing the script to set.

See also get_onafterupdate

IHTMLDocument2::get_onafterupdate

HRESULT get_onafterupdate(
    VARIANT *p
);

Retrieves the inline script associated with the onafterupdate event on the object.

p
Address of a VARIANT structure to store the script.

See also put_onafterupdate

IHTMLDocument2::put_onrowexit

HRESULT put_onrowexit(
    VARIANT v
);

Sets the inline script associated with the onrowexit event on the object.

v
VARIANT structure containing the script to set.

See also get_onrowexit

IHTMLDocument2::get_onrowexit

HRESULT get_onrowexit(
    VARIANT *p
);

Retrieves the inline script associated with the onrowexit event on the object.

p
Address of a VARIANT structure to store the script.

See also put_onrowexit

IHTMLDocument2::put_onrowenter

HRESULT put_onrowenter(
    VARIANT v
);

Sets the inline script associated with the onrowenter event on the object.

v
VARIANT structure that contains the script to set.

See also get_onrowenter

IHTMLDocument2::get_onrowenter

HRESULT get_onrowenter(
    VARIANT *p
);

Retrieves the inline script associated with the onrowenter event on the object.

p
Address of a VARIANT structure to store the script.

See also put_onrowenter

IHTMLDocument2::put_ondragstart

HRESULT put_ondragstart(
    VARIANT v
);

Sets the inline script associated with the ondragstart event on the object.

v
VARIANT structure containing the script to set.

See also get_ondragstart

IHTMLDocument2::get_ondragstart

HRESULT get_ondragstart(
    VARIANT *p
);

Retrieves the inline script associated with the ondragstart event on the object.

p
Address of a VARIANT structure to store the script.

See also put_ondragstart

IHTMLDocument2::put_onselectstart

HRESULT put_onselectstart(
    VARIANT v
);

Sets the inline script associated with the onselect event on the object.

v
VARIANT structure containing the script to set.

See also get_onselectstart

IHTMLDocument2::get_onselectstart

HRESULT get_onselectstart(
    VARIANT *p
);

Retrieves the inline script associated with the onselect event on the object.

p
Address of a VARIANT structure to store the script.

See also put_onselectstart

IHTMLDocument2::elementFromPoint

HRESULT elementFromPoint(
    long x,
    long y,
    IHTMLElement **elementHit
);

Retrieves the element at the specified x and y coordinates.

x
Long integer value specifying the horizontal coordinate, in window coordinates.
y
Long integer value specifying the vertical coordinate, in window coordinates.
elementHit
Address of a pointer to the IHTMLElement interface for the element at the given coordinates.

Window coordinates are relative to the top-left corner of the window, which is at coordinates 0,0.

IHTMLDocument2::get_parentWindow

HRESULT get_parentWindow(
    IHTMLWindow2 **p
);

Retrieves an interface pointer to the window object for the document.

p
Address of a pointer to the IHTMLWindow2 interface associated with the parent window.

IHTMLDocument2::get_styleSheets

HRESULT get_styleSheets(
    IHTMLStyleSheetsCollection **p
);

Retrieves an interface pointer to a zero-based collection of the style sheet objects exposed from the document object. Each style sheet object represents an individual style sheet that is defined for the document.

p
Address of a pointer to the IHTMLStyleSheetsCollection interface of the collection.

IHTMLDocument2::put_onbeforeupdate

HRESULT put_onbeforeupdate(
    VARIANT v
);

Sets the inline script associated with the onbeforeupdate event on the object.

v
VARIANT structure that contains the script to set.

See also get_onbeforeupdate

IHTMLDocument2::get_onbeforeupdate

HRESULT get_onbeforeupdate(
    VARIANT *p
);

Retrieves the inline script associated with the onbeforeupdate event on the object.

p
Address of a VARIANT structure to store the script.

See also put_onbeforeupdate

IHTMLDocument2::put_onerrorupdate

HRESULT put_onerrorupdate(
    VARIANT v
);

Sets the inline script associated with the onerrorupdate event on the object.

v
VARIANT structure containing the script to set.

See also get_onerrorupdate

IHTMLDocument2::get_onerrorupdate

HRESULT get_onerrorupdate(
    VARIANT *p
);

Retrieves the inline script associated with the onerrorupdate event on the object.

p
Address of a VARIANT structure to store the script.

See also put_onerrorupdate

IHTMLDocument2::toString

HRESULT toString(
    BSTR *String
);

Retrieves a string representation of the document object.

String
Address of a string variable that receives the string representation.

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.