xtd - Reference Guide  0.1.2
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Loading...
Searching...
No Matches
message_dialog_options.h
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/ustring.h>
6
8namespace xtd {
10 namespace forms {
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}
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
message_dialog_options
Specifies options on a message_box.
Definition message_dialog_options.h:20
@ rtl_reading
Specifies that the message box text is displayed with right to left reading order.
@ right_align
The message box text is right-aligned.
@ default_desktop_only
The message box is displayed on the active desktop.
@ service_notification
The message box is displayed on the active desktop.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition about_box.h:13
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition system_report.h:17
Contains xtd::ustring class.