IHTMLDocument2::get_onkeypressIHTMLDocument2::get_onkeypress*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLDocument2::put_onkeypress
*Next Topic: IHTMLDocument2::put_onmouseup

IHTMLDocument2::get_onkeypress


HRESULT get_onkeypress(
    VARIANT *p
);

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

p
Address of a VARIANT structure to store the script.

See also put_onkeypress

Up Top of Page


IHTMLDocument2::put_onkeypress


HRESULT put_onkeypress(
    VARIANT v
);

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

v
VARIANT structure that contains the script to set.

See also get_onkeypress


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.