xtd 0.2.0
Loading...
Searching...
No Matches
mouse_key.hpp
Go to the documentation of this file.
1
4#pragma once
6#if !defined(__XTD_FORMS_NATIVE_LIBRARY__)
7#error "Do not include this file: Internal use only"
8#endif
10
11#include <cstddef>
12
13#if !defined(MK_LBUTTON)
19constexpr size_t MK_LBUTTON = 0x0001;
25constexpr size_t MK_RBUTTON = 0x0002;
31constexpr size_t MK_SHIFT = 0x0004;
37constexpr size_t MK_CONTROL = 0x0008;
43constexpr size_t MK_MBUTTON = 0x0010;
49constexpr size_t MK_XBUTTON1 = 0x0020;
55constexpr size_t MK_XBUTTON2 = 0x0040;
56#endif
62constexpr size_t MK_COMMAND = 0x0080;
constexpr size_t MK_LBUTTON
The left mouse button is down.
Definition mouse_key.hpp:19
constexpr size_t MK_XBUTTON1
The first X button is down.
Definition mouse_key.hpp:49
constexpr size_t MK_SHIFT
The SHIFT key is down.
Definition mouse_key.hpp:31
constexpr size_t MK_XBUTTON2
The second X button is down.
Definition mouse_key.hpp:55
constexpr size_t MK_MBUTTON
The middle mouse button is down.
Definition mouse_key.hpp:43
constexpr size_t MK_COMMAND
The CMD key is down.
Definition mouse_key.hpp:62
constexpr size_t MK_CONTROL
The CTRL key is down.
Definition mouse_key.hpp:37
constexpr size_t MK_RBUTTON
The right mouse button is down.
Definition mouse_key.hpp:25