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.
- Returns S_OK if successful, or an error value otherwise.
- 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.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.