MsgBoxStyle 열거형
정의
MsgBox
함수를 호출할 때 표시할 단추를 나타냅니다.Indicates which buttons to display when calling the MsgBox
function.
이 열거형에는 멤버 값의 비트 조합을 허용하는 FlagsAttribute 특성이 있습니다.
public enum class MsgBoxStyle
[System.Flags]
public enum MsgBoxStyle
[<System.Flags>]
type MsgBoxStyle =
Public Enum MsgBoxStyle
- 상속
- 특성
필드
AbortRetryIgnore | 2 | 중단, 다시 시도, 및 무시 단추Abort, Retry, and Ignore buttons. 이 멤버는 Visual Basic 상수 |
ApplicationModal | 0 | 애플리케이션 모달 메시지 상자Application modal message box. 이 멤버는 Visual Basic 상수 |
Critical | 16 | 중요 메시지Critical message. 이 멤버는 Visual Basic 상수 |
DefaultButton1 | 0 | 첫 번째 단추가 기본 단추입니다.First button is default. 이 멤버는 Visual Basic 상수 |
DefaultButton2 | 256 | 두 번째 단추가 기본 단추입니다.Second button is default. 이 멤버는 Visual Basic 상수 |
DefaultButton3 | 512 | 세 번째 단추가 기본 단추입니다.Third button is default. 이 멤버는 Visual Basic 상수 |
Exclamation | 48 | 경고 메시지입니다.Warning message. 이 멤버는 Visual Basic 상수 |
Information | 64 | 정보 메시지Information message. 이 멤버는 Visual Basic 상수 |
MsgBoxHelp | 16384 | 도움말 텍스트Help text. 이 멤버는 Visual Basic 상수 |
MsgBoxRight | 524288 | 오른쪽 맞춤 텍스트Right-aligned text. 이 멤버는 Visual Basic 상수 |
MsgBoxRtlReading | 1048576 | 오른쪽에서 왼쪽으로 읽는 텍스트(히브리어 및 아랍어 시스템)Right-to-left reading text (Hebrew and Arabic systems). 이 멤버는 Visual Basic 상수 |
MsgBoxSetForeground | 65536 | 전경 메시지 상자 창Foreground message box window. 이 멤버는 Visual Basic 상수 |
OkCancel | 1 | 확인 및 취소 단추OK and Cancel buttons. 이 멤버는 Visual Basic 상수 |
OKCancel | 1 | 확인 및 취소 단추OK and Cancel buttons. 이 멤버는 Visual Basic 상수 |
OkOnly | 0 | 확인 단추만(기본값)OK button only (default). 이 멤버는 Visual Basic 상수 |
OKOnly | 0 | 확인 단추만(기본값)OK button only (default). 이 멤버는 Visual Basic 상수 |
Question | 32 | 경고 쿼리Warning query. 이 멤버는 Visual Basic 상수 |
RetryCancel | 5 | 다시 시도 및 취소 단추Retry and Cancel buttons. 이 멤버는 Visual Basic 상수 |
SystemModal | 4096 | 시스템 모달 메시지 상자System modal message box. 이 멤버는 Visual Basic 상수 |
YesNo | 4 | 예 및 No 단추Yes and No buttons. 이 멤버는 Visual Basic 상수 |
YesNoCancel | 3 | 예, 아니요 및 취소 단추Yes, No, and Cancel buttons. 이 멤버는 Visual Basic 상수 |
설명
호출 하는 경우는 MsgBox
함수를 사용할 수는 MsgBoxStyle
실제 값 대신 코드의 열거형입니다.When you call the MsgBox
function, you can use the MsgBoxStyle
enumeration in your code in place of the actual values. 합니다 Buttons
인수는 MsgBoxStyle
열거형 멤버입니다.The Buttons
argument takes the MsgBoxStyle
enumeration members.