xtd 0.2.0
Loading...
Searching...
No Matches
mouse_buttons.h
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/enum>
6
8namespace xtd {
10 namespace forms {
20 enum class mouse_buttons {
22 none = 0,
24 left = 0x100000,
26 right = 0x200000,
28 middle = 0x400000,
30 x_button1 = 0x800000,
32 x_button2 = 0x1000000
33 };
34 }
35}
36
38flags_attribute_(xtd::forms, mouse_buttons);
39
42};
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition flags_attribute.h:34
std::vector< std::pair< enum_t, xtd::ustring > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition enum_collection.h:19
mouse_buttons
Specifies constants that define which mouse button was pressed. This enumeration has a flag attribute...
Definition mouse_buttons.h:20
@ 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.h:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Provides the registration struct for enumerations.
Definition enum_register.h:36