xtd - Reference Guide  0.2.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
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 {
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 }
The message box is displayed on the active desktop.
The message box text is right-aligned.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
message_dialog_options
Specifies options on a message_box.
Definition: message_dialog_options.h:20
The message box is displayed on the active desktop.
Specifies that the message box text is displayed with right to left reading order.
Contains xtd::ustring class.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
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