Click to return to the Reusing Browser Technology home page    
IHTMLWindow3::setTimeout ...     IHTMLXMLDeclElement Inter...     IHTMLWindow3 Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLWindow3::showModelessDialog Method


Creates a modeless dialog box.

Syntax

HRESULT showModelessDialog( 
    BSTR url,
    VARIANT *varArgIn, 
    VARIANT *options, 
    IHTMLWindow2 **pDialog
);

Parameters

url
String (BSTR) variable that specifies the URL of the document to load and display.
varArgIn
Address of a VARIANT structure that returns a string that specifies the arguments to use when displaying the document. This parameter can be used to pass a value of any type, including an array of values. The dialog box can extract the values passed by the caller from the dialogArguments method of the IHTMLWindow2 object.
options
Address of a VARIANT structure that returns a string that specifies the window ornaments for the dialog box.
pDialog
Address of a pointer to an IHTMLWindow2 interface that returns the reference to the newly created dialog window.

Return Value

Returns S_OK if successful, or an error code otherwise.

See Also

showModelessDialog



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.