IHTMLWindow2::get_onscrollIHTMLWindow2::get_onscroll*
*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.

p
Address of a VARIANT structure that contains the script.

See also put_onscroll

Up Top of Page


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.

v
VARIANT structure that contains the script to be set.

See also get_onscroll


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