Click to return to the Reusing Browser Technology home page    
IHTMLWindow2::showHelp Me...     IHTMLWindow2::toString Me...     IHTMLWindow2 Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLWindow2::showModalDialog Method


Displays an HTML dialog box.

Syntax

HRESULT showModalDialog(
    BSTR dialog,
    VARIANT *varArgIn,
    VARIANT *varOptions,
    VARIANT *varArgOut
);

Parameters

dialog
String (BSTR) that specifies the URL of the dialog box.
varArgIn
Address of a VARIANT structure that contains programmer-defined arguments to pass into the dialog box.
varOptions
Address of a VARIANT structure that specifies the attributes of the dialog box. For more information, see showModalDialog.
varArgOut
Address of a VARIANT structure that receives a return value from the dialog box. For more information, see IHTMLDialog::returnValue.

Return Value

Returns S_OK if successful, or an error code otherwise.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.