英語で読む

次の方法で共有


OLEMSGBUTTON Enum

Definition

Specifies the button to display with a message.

C++/CX
public enum class 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

製品 バージョン
Visual Studio SDK 2015, 2017, 2019, 2022