Share via


ExtendedMessageBoxResult Enum

Definition

Specifies which message box button a user clicks. ShowMessageBoxEx(String, String, String, OLEMSGBUTTON, OLEMSGDEFBUTTON, OLEMSGICON, Boolean, Boolean) supports buttons that are not supported by System.Windows.MessageBox, so the set of possible results is a superset of System.Windows.MessageBoxResult.

public enum ExtendedMessageBoxResult
type ExtendedMessageBoxResult = 
Public Enum ExtendedMessageBoxResult
Inheritance
ExtendedMessageBoxResult

Fields

Name Value Description
None 0

The message box returns no result.

OK 1

The result value of the message box is OK.

Cancel 2

The result value of the message box is Cancel.

Abort 3

The result value of the message box is Abort.

Retry 4

The result value of the message box is Retry.

Ignore 5

The result value of the message box is Ignore.

Yes 6

The result value of the message box is Yes.

No 7

The result value of the message box is No.

Applies to