Contents Index Topic Contents | ||
Previous Topic: IHTMLDialog::put_returnValue Next Topic: IHTMLDialog::close |
IHTMLDialog::get_returnValue
HRESULT get_returnValue( VARIANT *p );Retrieves the return value of the dialog box.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a VARIANT structure that receives the return value, which 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
IHTMLDialog::put_returnValue
HRESULT put_returnValue( VARIANT v );Sets the return value of the dialog box.
- Returns S_OK if successful, or an error value otherwise.
- v
- VARIANT structure that contains a string or value specifying the return value, which 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 get_returnValue
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.