Displays a Confirm dialog box with the specified message, and OK and Cancel buttons.
Syntax
HRESULT confirm( BSTR message, VARIANT_BOOL *confirmed );
Parameters
- message
- String (BSTR) that specifies the message to display in the dialog box.
- confirmed
- Address of a VARIANT Boolean structure that receives VARIANT_TRUE if the message is confirmed, or VARIANT_FALSE otherwise.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
The title bar of the confirm dialog box cannot be changed.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0
See Also