# XdConfirmButtons Enumeration

The XdConfirmButtons enumeration is used to determine the type of buttons to be displayed in a message box. These enumerated values are used by the Confirm method of the UI object.

Name | Value | Description
--- | --- | ---
xdOKCancel | 1 | OK and Cancel buttons are displayed.
xdYesNoCancel | 3 | Yes, No, and Cancel buttons are displayed.
xdYesNo | 4 | Yes and No buttons are displayed

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp