xtd - Reference Guide
0.1.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
message_dialog_default_button.h
Go to the documentation of this file.
1
4
#pragma once
5
#include <
xtd/ustring.h
>
6
8
namespace
xtd
{
10
namespace
forms
{
18
enum class
message_dialog_default_button
{
20
button1
= 0,
22
button2
= 0x00000100L,
24
button3
= 0x00000200L
25
};
26
28
inline
std::ostream& operator<<(std::ostream& os,
message_dialog_default_button
value) {
return
os <<
to_string
(value, {{
message_dialog_default_button::button1
,
"button1"
}, {
message_dialog_default_button::button2
,
"button2"
}, {
message_dialog_default_button::button3
,
"button3"
}});}
29
inline
std::wostream& operator<<(std::wostream& os,
message_dialog_default_button
value) {
return
os <<
to_string
(value, {{
message_dialog_default_button::button1
, L
"button1"
}, {
message_dialog_default_button::button2
, L
"button2"
}, {
message_dialog_default_button::button3
, L
"button3"
}});}
31
}
32
}
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_default_button
message_dialog_default_button
Specifies constants defining the default button on a message_box.
Definition:
message_dialog_default_button.h:18
xtd::forms::message_dialog_default_button::button1
@ button1
The first button on the message box is the default button.
xtd::forms::message_dialog_default_button::button3
@ button3
The third button on the message box is the default button.
xtd::forms::message_dialog_default_button::button2
@ button2
The second button on the message box is the default button.
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 Sat Jan 28 2023 18:12:26 for xtd - Reference Guide by
Gammasoft
. All rights reserved.