Contents Index Topic Contents | ||
Previous Topic: IHTMLWindow2::get_onscroll Next Topic: IHTMLWindow2::get_opener |
IHTMLWindow2::get_onunload
HRESULT get_onunload( VARIANT *p );Retrieves the inline script that is executed immediately before the page is unloaded.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a VARIANT structure that contains the script.
See also put_onunload
IHTMLWindow2::put_onunload
HRESULT put_onunload( VARIANT v );Specifies code to execute immediately before the page is unloaded.
- Returns S_OK if successful, or an error value otherwise.
- v
- VARIANT structure that contains the script to be set.
See also get_onunload
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.