MouseButtons Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies constants that define which mouse button was pressed.
This enumeration supports a bitwise combination of its member values.
public enum class MouseButtons
[System.Flags]
[System.Runtime.InteropServices.ComVisible(true)]
public enum MouseButtons
[<System.Flags>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type MouseButtons =
Public Enum MouseButtons
- Inheritance
-
MouseButtons
- Attributes
Fields
Left | 1048576 | The left mouse button was pressed. |
Middle | 4194304 | The middle mouse button was pressed. |
None | 0 | No mouse button was pressed. |
Right | 2097152 | The right mouse button was pressed. |
XButton1 | 8388608 | The first XButton mouse button was pressed. |
XButton2 | 16777216 | The second XButton mouse button was pressed. |