Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

returnValue property

[This documentation is preliminary and is subject to change.]

Applies to: desktop apps only

Sets or gets the value returned from the modal dialog window.

This property is not supported for Metro style apps using JavaScript.


HRESULT value = object.put_returnValue(VARIANT v);HRESULT value = object.get_returnValue(VARIANT* p);

Property values


the value returned from the window.


This property applies only to windows created by using the IHTMLWindow2::showModalDialog method.

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



Build date: 6/6/2012

Community Additions

© 2015 Microsoft