This interface provides access to information about an HTML dialog box.
IHTMLDialog Methods
close Closes the dialog box. get_dialogArguments Retrieves the variable or array of variables passed into the modal dialog window. get_dialogHeight Retrieves the height of the dialog box. get_dialogLeft Retrieves the left coordinate of the dialog box. get_dialogTop Retrieves the top coordinate of the dialog box. get_dialogWidth Retrieves the width of the dialog box. get_returnValue Retrieves the return value of the dialog box. put_dialogHeight Sets the height of the dialog box. put_dialogLeft Sets the left coordinate of the dialog box. put_dialogTop Sets the top coordinate of the dialog box. put_dialogWidth Sets the width of the dialog box. put_returnValue Sets the return value of the dialog box. toString Retrieves a string representation of the dialog object.
Interface Information
Implementation System (Mshtml.dll) Inherits from IDispatch Header and IDL files Mshtml.h, Mshtml.idl Minimum availability Internet Explorer 4.0 Minimum operating systems Windows 95, Windows NT 4.0
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0
Remarks
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.