IHTMLEventObj::get_returnValueIHTMLEventObj::get_returnValue*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLEventObj::put_returnValue
*Next Topic: IHTMLEventObj::put_cancelBubble

IHTMLEventObj::get_returnValue


HRESULT get_returnValue(
    VARIANT *p
);

Retrieves the return value of the event or dialog.

p
Address of a VARIANT structure that receives the return value. It can be either TRUE or FALSE.

For event handler functions, the value of this property takes precedence over values returned by the function, such as through a return statement.

See also put_returnValue

Up Top of Page


IHTMLEventObj::put_returnValue


HRESULT put_returnValue(
    VARIANT v
);

Sets the return value of the event.

v
VARIANT structure that contains the return value. It can be either TRUE of FALSE.

For event handler functions, the value of this property takes precedence over values returned by the function, such as through a return statement.

See also get_returnValue


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