xtd 0.2.0
Loading...
Searching...
No Matches
message_box_styles.h
Go to the documentation of this file.
1
4#pragma once
6#if !defined(__XTD_FORMS_NATIVE_LIBRARY__)
7#error "Do not include this file: Internal use only"
8#endif
10
11#include <cstddef>
12
13#if !defined(MB_OK)
20constexpr size_t MB_OK = 0x00000000L;
27constexpr size_t MB_OKCANCEL = 0x00000001L;
34constexpr size_t MB_ABORTRETRYIGNORE = 0x00000002L;
41constexpr size_t MB_YESNOCANCEL = 0x00000003L;
49constexpr size_t MB_YESNO = 0x00000004L;
56constexpr size_t MB_RETRYCANCEL = 0x00000005L;
57
64constexpr size_t MB_ICONSTOP = 0x00000010L;
71constexpr size_t MB_ICONERROR = 0x00000010L;
78constexpr size_t MB_ICONHAND = 0x00000010L;
85constexpr size_t MB_ICONQUESTION = 0x00000020L;
92constexpr size_t MB_ICONEXCLAMATION = 0x00000030L;
99constexpr size_t MB_ICONWARNING = 0x00000030L;
106constexpr size_t MB_ICONINFORMATION = 0x00000040L;
113constexpr size_t MB_ICONASTERISK = 0x00000040L;
114
121constexpr size_t MB_DEFBUTTON1 = 0x00000000L;
128constexpr size_t MB_DEFBUTTON2 = 0x00000100L;
135constexpr size_t MB_DEFBUTTON3 = 0x00000200L;
142constexpr size_t MB_DEFBUTTON4 = 0x00000300L;
143
150constexpr size_t MB_APPLMODAL = 0x00000000L;
157constexpr size_t MB_SYSTEMMODAL = 0x00001000L;
164constexpr size_t MB_TASKMODAL = 0x00002000L;
165
172constexpr size_t MB_HELP = 0x00004000L;
173
180constexpr size_t MB_DEFAULT_DESKTOP_ONLY = 0x00020000L;
187constexpr size_t MB_RIGHT = 0x00080000L;
194constexpr size_t MB_RTLREADING = 0x00100000L;
201constexpr size_t MB_SETFOREGROUND = 0x00010000L;
208constexpr size_t MB_TOPMOST = 0x00040000L;
215constexpr size_t MB_SERVICE_NOTIFICATION = 0x00200000L;
216
217#endif
constexpr size_t MB_ICONSTOP
A stop-sign icon appears in the message box.
Definition message_box_styles.h:64
constexpr size_t MB_OK
The message box contains one push button: OK. This is the default.
Definition message_box_styles.h:20
constexpr size_t MB_ABORTRETRYIGNORE
The message box contains three push buttons: Abort, Retry, and Ignore.
Definition message_box_styles.h:34
constexpr size_t MB_ICONERROR
A stop-sign icon appears in the message box.
Definition message_box_styles.h:71
constexpr size_t MB_HELP
Adds a Help button to the message box. When the user clicks the Help button or presses F1,...
Definition message_box_styles.h:172
constexpr size_t MB_APPLMODAL
The user must respond to the message box before continuing work in the window identified by the hWnd ...
Definition message_box_styles.h:150
constexpr size_t MB_TOPMOST
The message box is created with the WS_EX_TOPMOST window style.
Definition message_box_styles.h:208
constexpr size_t MB_DEFAULT_DESKTOP_ONLY
Same as desktop of the interactive window station. For more information, see Window Stations.
Definition message_box_styles.h:180
constexpr size_t MB_RETRYCANCEL
The message box contains two push buttons: Retry and Cancel.
Definition message_box_styles.h:56
constexpr size_t MB_ICONINFORMATION
An icon consisting of a lowercase letter i in a circle appears in the message box.
Definition message_box_styles.h:106
constexpr size_t MB_YESNO
The message box contains two push buttons: Yes and No.
Definition message_box_styles.h:49
constexpr size_t MB_SYSTEMMODAL
Same as MB_APPLMODAL except that the message box has the WS_EX_TOPMOST style. Use system-modal messag...
Definition message_box_styles.h:157
constexpr size_t MB_OKCANCEL
The message box contains two push buttons: OK and Cancel.
Definition message_box_styles.h:27
constexpr size_t MB_RTLREADING
Displays message and caption text using right-to-left reading order on Hebrew and Arabic systems.
Definition message_box_styles.h:194
constexpr size_t MB_ICONWARNING
An exclamation-point icon appears in the message box.
Definition message_box_styles.h:99
constexpr size_t MB_DEFBUTTON1
The first button is the default button.
Definition message_box_styles.h:121
constexpr size_t MB_YESNOCANCEL
The message box contains three push buttons: Yes, No, and Cancel.
Definition message_box_styles.h:41
constexpr size_t MB_DEFBUTTON3
The third button is the default button.
Definition message_box_styles.h:135
constexpr size_t MB_TASKMODAL
Same as MB_APPLMODAL except that all the top-level windows belonging to the current thread are disabl...
Definition message_box_styles.h:164
constexpr size_t MB_SERVICE_NOTIFICATION
The caller is a service notifying the user of an event. The function displays a message box on the cu...
Definition message_box_styles.h:215
constexpr size_t MB_ICONHAND
A stop-sign icon appears in the message box.
Definition message_box_styles.h:78
constexpr size_t MB_RIGHT
The text is right-justified.
Definition message_box_styles.h:187
constexpr size_t MB_ICONEXCLAMATION
An exclamation-point icon appears in the message box.
Definition message_box_styles.h:92
constexpr size_t MB_ICONQUESTION
A question-mark icon appears in the message box. The question-mark message icon is no longer recommen...
Definition message_box_styles.h:85
constexpr size_t MB_ICONASTERISK
An icon consisting of a lowercase letter i in a circle appears in the message box.
Definition message_box_styles.h:113
constexpr size_t MB_SETFOREGROUND
The message box becomes the foreground window. Internally, the system calls the SetForegroundWindow f...
Definition message_box_styles.h:201
constexpr size_t MB_DEFBUTTON4
The fourth button is the default button.
Definition message_box_styles.h:142
constexpr size_t MB_DEFBUTTON2
The second button is the default button.
Definition message_box_styles.h:128