共用方式為


onscroll property

Sets or retrieves a pointer to the event handler function associated with the HTMLFrameSiteEvents::onscroll event.

Syntax

HRESULT value = object.put_onscroll(VARIANT v);HRESULT value = object.get_onscroll(VARIANT* p);

Property values

Type: VARIANT

the IDispatch interface of an object with a default method that is invoked when the event occurs.

Remarks

Windows Internet Explorer 9. This event has been extended to IHTMLDocument7.

See also

Reference

IHTMLDocument3::attachEvent

IHTMLDocument3::attachEvent