IHTMLWindow2::confirmIHTMLWindow2::confirm*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLWindow2::close
*Next Topic: IHTMLWindow2::execScript

IHTMLWindow2::confirm


HRESULT confirm(
    BSTR message,
    VARIANT_BOOL *confirmed
);

Displays a Confirm dialog box with the specified message, and OK and Cancel buttons.

message
String specifying the message to display in the dialog box.
confirmed
Address of a variable that receives TRUE if the message is confirmed, or FALSE otherwise.

The title bar of the confirm dialog box cannot be changed.

See also alert, prompt


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.