IHTMLElement4::onbeforeactivate Property

Sets or retrieves a pointer to the event handler function associated with the onbeforeactivate event.

Syntax


HRESULT IHTMLElement4::get_onbeforeactivate(VARIANT *p);HRESULT IHTMLElement4::put_onbeforeactivate(VARIANT v);

Parameters

p
Pointer to a variable of type VARIANT of type VT_DISPATCH that receives the IDispatch interface of an object with a default method that is invoked when the event occurs.
v
VARIANT of type VT_DISPATCH that specifies the IDispatch interface of an object with a default method that is invoked when the event occurs.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

IHTMLElement4::onbeforeactivate was introduced in Microsoft Internet Explorer 6

See Also

Community Additions

Show: