Export (0) Print
Expand All

IHTMLDialog interface

Provides access to information about an HTML dialog box.

Members

The IHTMLDialog interface inherits from the IDispatch interface. IHTMLDialog also has these types of members:

Methods

The IHTMLDialog interface has these methods.

MethodDescription
close

Closes the current browser window or HTA.

Closes the app without prompting the user. To the user, it appears as though the app has crashed.

 

Properties

The IHTMLDialog interface has these properties.

PropertyDescription

dialogArguments

Gets the variable or array of variables passed into the modal dialog window.

dialogHeight

Sets or gets the height of the modal dialog window.

dialogLeft

Sets or gets the left coordinate of the modal dialog window.

dialogTop

Sets or gets the top coordinate of the modal dialog window.

dialogWidth

Sets or gets the width of the modal dialog window.

returnValue

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

This property is not supported for Windows Store apps using JavaScript.

 

Remarks

The dialog object is the special window object created by the IHTMLWindow2::showModalDialog method. In the dialog window, scripts reference the dialog object as the top-level window property. There is no such dialog property in the dialog.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft