MouseEventResult Struct Reference

Mouse Event structure. More...

List of all members.

Public Types

enum  Button
 Types of buttons.

Public Attributes

Button ButtonPressed
 Indicates which mouse button was actually pressed.
bool isAltPressed
 is the ALT key pressed
bool isControlPressed
 is the CTRL key pressed
bool isShiftPressed
 is the SHIFT key pressed
Point pos
 Position of mouse.


Detailed Description

Mouse Event structure.

Several event handlers supply an object of this type as one or more parameters to their Event Handler.
E.g. the "onLeftMouseUp" Event Handler takes an object of this type to give extensive information regarding the Event.


Member Data Documentation

Button ButtonPressed

Indicates which mouse button was actually pressed.

possible values are LEFT, RIGHT or MIDDLE

bool isAltPressed

is the ALT key pressed

true if ALT key is pressed, otherwise false

bool isControlPressed

is the CTRL key pressed

true if CTRL key is pressed, otherwise false

bool isShiftPressed

is the SHIFT key pressed

true if SHIFT key is pressed, otherwise false

Point pos

Position of mouse.

Position of mouse when event was raised

Back to SmartWin website
SourceForge.net Logo