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.
- Returns S_OK if successful, or an error value otherwise.
- 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
IHTMLEventObj::put_returnValue
HRESULT put_returnValue( VARIANT v );Sets the return value of the event.
- Returns S_OK if successful, or an error value otherwise.
- 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
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.