Partilhar via


OLEMSGBUTTON Enum

Definition

Specifies the button to display with a message.

public enum class OLEMSGBUTTON
public enum class OLEMSGBUTTON
enum OLEMSGBUTTON
public enum OLEMSGBUTTON
type OLEMSGBUTTON = 
Public Enum OLEMSGBUTTON
Inheritance
OLEMSGBUTTON

Fields

Name Value Description
OLEMSGBUTTON_OK 0

Displays the OK button.

OLEMSGBUTTON_OKCANCEL 1

Displays the OK and CANCEL buttons.

OLEMSGBUTTON_ABORTRETRYIGNORE 2

Displays the ABORT, RETRY, and IGNORE buttons.

OLEMSGBUTTON_YESNOCANCEL 3

Displays the YES, NO, and CANCEL buttons.

OLEMSGBUTTON_YESNO 4

Displays the YES and NO buttons.

OLEMSGBUTTON_RETRYCANCEL 5

Displays the RETRY and CANCEL buttons.

OLEMSGBUTTON_YESALLNOCANCEL 6

Displays the YES, ALL, NO, and CANCEL buttons.

Remarks

The OLEMSGBUTTON value controls the button set to be used with a message.

COM Signature

From oleipc.idl.

[C++]

Applies to