共用方式為


onresize property

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

Syntax

HRESULT value = object.put_onresize(VARIANT v);HRESULT value = object.get_onresize(VARIANT* p);

Property values

Type: VARIANT

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

See also

Reference

IHTMLDocument3::attachEvent

IHTMLDocument3::attachEvent