xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
message_dialog_options.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include <xtd/enum>
6
8
namespace
xtd
{
10
namespace
forms
{
24
enum class
message_dialog_options
{
26
default_desktop_only
= 0x00020000L,
28
right_align
= 0x00080000L,
30
rtl_reading
= 0x00100000L,
32
service_notification
= 0x00200000L
33
};
34
}
35
}
36
38
flags_attribute_
(
xtd::forms
, message_dialog_options);
39
40
template
<>
struct
xtd::enum_register
<
xtd
::
forms::message_dialog_options
> {
41
static
auto
values
() noexcept {
return
xtd::enum_collection<xtd::forms::message_dialog_options>
{{
xtd::forms::message_dialog_options::default_desktop_only
,
"default_desktop_only"
}, {
xtd::forms::message_dialog_options::right_align
,
"right_align"
}, {
xtd::forms::message_dialog_options::rtl_reading
,
"rtl_reading"
}, {
xtd::forms::message_dialog_options::service_notification
,
"service_notification"
}};}
42
};
flags_attribute_
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition
flags_attribute.hpp:34
xtd::enum_collection
std::vector< std::pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition
enum_collection.hpp:24
xtd::forms::message_dialog_options
message_dialog_options
Specifies options on a message_box.
Definition
message_dialog_options.hpp:24
xtd::forms::message_dialog_options::rtl_reading
@ rtl_reading
Specifies that the message box text is displayed with right to left reading order.
Definition
message_dialog_options.hpp:30
xtd::forms::message_dialog_options::right_align
@ right_align
The message box text is right-aligned.
Definition
message_dialog_options.hpp:28
xtd::forms::message_dialog_options::default_desktop_only
@ default_desktop_only
The message box is displayed on the active desktop.
Definition
message_dialog_options.hpp:26
xtd::forms::message_dialog_options::service_notification
@ service_notification
The message box is displayed on the active desktop.
Definition
message_dialog_options.hpp:32
xtd::forms
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition
texts.hpp:219
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
xtd::enum_register
Provides the registration struct for enumerations.
Definition
enum_register.hpp:38
xtd::enum_register::values
static auto values() noexcept
Definition
enum_register.hpp:55
Generated on
for xtd by
Gammasoft
. All rights reserved.