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.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a VARIANT structure to store the script.
See also put_onkeypress
IHTMLDocument2::put_onkeypress
HRESULT put_onkeypress( VARIANT v );Sets the inline script associated with the onkeypress event on the object.
- Returns S_OK if successful, or an error value otherwise.
- v
- VARIANT structure that contains the script to set.
See also get_onkeypress
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.