class MouseEvent
Describes a mouse input event in the Console.
Implements interface InputEvent. This event is sent to the console's input queue, when the user moves the mouse over the console window, or presses or releases mouse buttons.
Inheritance
class MouseEvent : InputEvent |
Properties
int ButtonState () | Returns the state of the mouse buttons. |
int ControlKeyState () | Returns the state of the modifier keys shift, control and alternate. |
int EventFlags () | Returns additional event flags. |
int EventType () | Returns the type number of this event. |
Location MousePosition () | Returns the character coordinates of the current mouse position. |
Reference
accessor int ButtonState () |
Returns the state of the mouse buttons. |
accessor int ControlKeyState () |
Returns the state of the modifier keys shift, control and alternate. |
accessor int EventFlags () |
Returns additional event flags. |
accessor int EventType () |
Returns the type number of this event. Inherited from InputEvent. Possible values are: Console::FocusEventType, Console::KeyEventType, Console::MenuEventType, Console::MouseEventType, Console::WindowBufferSizeEventType. |
accessor Location MousePosition () |
Returns the character coordinates of the current mouse position. |