xtd 0.2.0
Loading...
Searching...
No Matches
mouse_buttons.hpp
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/enum>
6
8namespace xtd {
10 namespace forms {
22 enum class mouse_buttons {
24 none = 0,
26 left = 0x100000,
28 right = 0x200000,
30 middle = 0x400000,
32 x_button1 = 0x800000,
34 x_button2 = 0x1000000
35 };
36 }
37}
38
40flags_attribute_(xtd::forms, mouse_buttons);
41
44};
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition flags_attribute.hpp:34
std::vector< xtd::collections::generic::key_value_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:22
mouse_buttons
Specifies constants that define which mouse button was pressed. This enumeration has a flag attribute...
Definition mouse_buttons.hpp:22
@ right
Bind control edges to the right of its container.
@ left
Bind control edges to the left of its container.
@ none
No mouse button was pressed.
@ middle
he middle mouse button was pressed.
@ right
The right mouse button was pressed.
@ left
The left mouse button was pressed.
@ x_button1
The first XButton (XBUTTON1) on Microsoft IntelliMouse Explorer was pressed.
@ x_button2
The second XButton (XBUTTON2) on Microsoft IntelliMouse Explorer was pressed.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition xtd_about_box.hpp:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Provides the registration struct for enumerations.
Definition enum_register.hpp:38