xtd - Reference Guide
0.1.1
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
xtd.forms
include
xtd
forms
message_dialog_options.h
Go to the documentation of this file.
1
#pragma once
5
#include <
xtd/ustring.h
>
6
8
namespace
xtd
{
10
namespace
forms
{
20
enum class
message_dialog_options
{
22
default_desktop_only
= 0x00020000L,
24
right_align
= 0x00080000L,
26
rtl_reading
= 0x00100000L,
28
service_notification
= 0x00200000L
29
};
30
32
inline
std::ostream& operator<<(std::ostream& os,
message_dialog_options
value) {
return
os <<
to_string
(value, {{
message_dialog_options::default_desktop_only
,
"default_desktop_only"
}, {
message_dialog_options::right_align
,
"right_align"
}, {
message_dialog_options::rtl_reading
,
"rtl_reading"
}, {
message_dialog_options::service_notification
,
"service_notification"
}});}
33
inline
std::wostream& operator<<(std::wostream& os,
message_dialog_options
value) {
return
os <<
to_string
(value, {{
message_dialog_options::default_desktop_only
, L
"default_desktop_only"
}, {
message_dialog_options::right_align
, L
"right_align"
}, {
message_dialog_options::rtl_reading
, L
"rtl_reading"
}, {
message_dialog_options::service_notification
, L
"service_notification"
}});}
35
}
36
}
xtd::to_string
std::string to_string(const value_t &value, const std::string &fmt, const std::locale &loc)
Convert a specified value into a string with specified format and locale.
Definition:
to_string.h:37
xtd::forms::message_dialog_options
message_dialog_options
Specifies options on a message_box.
Definition:
message_dialog_options.h:20
xtd::forms::message_dialog_options::rtl_reading
@ rtl_reading
Specifies that the message box text is displayed with right to left reading order.
xtd::forms::message_dialog_options::right_align
@ right_align
The message box text is right-aligned.
xtd::forms::message_dialog_options::default_desktop_only
@ default_desktop_only
The message box is displayed on the active desktop.
xtd::forms::message_dialog_options::service_notification
@ service_notification
The message box is displayed on the active desktop.
xtd::forms
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition:
about_box.h:13
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition:
system_report.h:17
ustring.h
Contains xtd::ustring class.
Generated on Mon Jul 17 2023 23:13:05 for xtd - Reference Guide by
Gammasoft
. All rights reserved.