共用方式為


MessageBoxFlags Enum

Definition

This enumeration supports a bitwise combination of its member values.

public enum class MessageBoxFlags
public enum class MessageBoxFlags
enum MessageBoxFlags
[System.Flags]
public enum MessageBoxFlags
[<System.Flags>]
type MessageBoxFlags = 
Public Enum MessageBoxFlags
Inheritance
MessageBoxFlags
Attributes

Fields

Name Value Description
MB_APPLMODAL 0
MB_DEFBUTTON1 0
MB_OK 0
None 0
MB_OKCANCEL 1
MB_ABORTRETRYIGNORE 2
MB_YESNOCANCEL 3
MB_YESNO 4
MB_RETRYCANCEL 5
MB_CANCELTRYCONTINUE 6
MB_TYPEMASK 15
MB_ICONERROR 16
MB_ICONHAND 16
MB_ICONSTOP 16
MB_ICONQUESTION 32
MB_ICONEXCLAMATION 48
MB_ICONWARNING 48
MB_ICONASTERISK 64
MB_ICONINFORMATION 64
MB_USERICON 128
MB_ICONMASK 240
MB_DEFBUTTON2 256
MB_DEFBUTTON3 512
MB_DEFBUTTON4 768
MB_DEFMASK 3840
MB_SYSTEMMODAL 4096
MB_TASKMODAL 8192
MB_MODEMASK 12288
MB_HELP 16384
MB_NOFOCUS 32768
MB_MISCMASK 49152
MB_SETFOREGROUND 65536
MB_DEFAULT_DESKTOP_ONLY 131072
MB_SERVICE_NOTIFICATION_NT3X 262144
MB_TOPMOST 262144
MB_RIGHT 524288
MB_RTLREADING 1048576
MB_SERVICE_NOTIFICATION 2097152

Applies to