
This interface provides access to information about an HTML dialog box.
The dialog object is the special window object created by the IHTMLWindow2::showModalDialog method. From within the dialog window, scripts reference the dialog object as the top-level window property. There is no such dialog property in the dialog.
IHTMLDialog Methods
| put_dialogTop | get_dialogTop | put_dialogLeft |
| get_dialogLeft | put_dialogWidth | get_dialogWidth |
| put_dialogHeight | get_dialogHeight | get_dialogArguments |
| put_returnValue | get_returnValue | close |
| toString |
HRESULT put_dialogTop(
VARIANT v
);
Sets the top coordinate of the dialog box.
This property applies only to windows created using the showModalDialog method.
See also get_dialogTop
HRESULT get_dialogTop(
VARIANT *p
);
Retrieves the top coordinate of the dialog box.
This property applies only to windows created using the showModalDialog method.
See also put_dialogTop
HRESULT put_dialogLeft(
VARIANT v
);
Sets the left coordinate of the dialog box.
This property applies only to windows created using the showModalDialog method.
See also get_dialogLeft
HRESULT get_dialogLeft(
VARIANT *p
);
Retrieves the left coordinate of the dialog box.
This property applies only to windows created using the showModalDialog method.
See also put_dialogLeft
HRESULT put_dialogWidth(
VARIANT v
);
Sets the width of the dialog box.
This property applies only to windows created using the showModalDialog method.
See also get_dialogWidth
HRESULT get_dialogWidth(
VARIANT *p
);
Retrieves the width of the dialog box.
This property applies only to windows created using the showModalDialog method.
See also put_dialogWidth
HRESULT put_dialogHeight(
VARIANT v
);
Sets the height of the dialog box.
This property applies only to windows created using the showModalDialog method.
See also get_dialogHeight
HRESULT get_dialogHeight(
VARIANT *p
);
Retrieves the height of the dialog box.
This property applies only to windows created using the showModalDialog method.
See also put_dialogHeight
HRESULT get_dialogArguments(
VARIANT *p
);
Retrieves the variable or array of variables passed into the modal dialog window.
This property applies only to windows created using the showModalDialog method.
HRESULT put_returnValue(
VARIANT v
);
Sets the return value of the dialog box.
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
HRESULT get_returnValue(
VARIANT *p
);
Retrieves the return value of the dialog box.
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
HRESULT close(void);
Closes the dialog box.
HRESULT toString(
BSTR *String
);
Retrieves a string representation of the dialog object.
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.