Contents Index Topic Contents | ||
Previous Topic: IHTMLWindow2::get_onresize Next Topic: IHTMLWindow2::get_onunload |
IHTMLWindow2::get_onscroll
HRESULT get_onscroll( VARIANT *p );Retrieves the inline script that is executed when the scroll box is repositioned. The default action of this event is to scroll.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a VARIANT structure that contains the script.
See also put_onscroll
IHTMLWindow2::put_onscroll
HRESULT put_onscroll( VARIANT v );Specifies code to execute when the scroll box is repositioned. The default action of this event is to scroll.
- Returns S_OK if successful, or an error value otherwise.
- v
- VARIANT structure that contains the script to be set.
See also get_onscroll
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.