MouseEvent Class |
Namespace: VO
The MouseEvent type exposes the following members.
Name | Description | |
---|---|---|
MouseEvent | Initializes a new instance of the MouseEvent class |
Name | Description | |
---|---|---|
ButtonID |
One of the following constants indicating the mouse button the user pressed when a MouseEvent was generated:
| |
Handle |
The pointer to the window where the event occurred
(Inherited from Event.) | |
IsControlButton |
A logical value indicating whether the user pressed the Control key when a MouseEvent was generated.
| |
IsLeftButton |
A logical value indicating whether the user pressed the left mouse button when a MouseEvent was generated.
| |
IsMiddleButton |
A logical value indicating whether the user pressed the middle mouse button when a MouseEvent was generated.
| |
IsRightButton |
A logical value indicating whether the user pressed the right mouse button when a MouseEvent was generated.
| |
IsShiftButton |
A logical value indicating whether the user pressed the Shift key when a MouseEvent was generated.
| |
IsXButton1 |
A logical value determining whether the user pressed the XButton1 causing the MouseEvent to be generated.
| |
IsXButton2 |
A logical value determining whether the user pressed the XButton2 causing the MouseEvent to be generated.
| |
Message |
A dword representing the Windows API message associated with the given event.
(Inherited from Event.) | |
Position |
A point, in canvas coordinates, representing the position of the mouse pointer on the window when this MouseEvent was generated.
| |
Window |
An object indicating the window or control in which the event occurred. This is helpful, for example, for distinguishing between similar menu events coming from the same context menu attached to different controls.
(Inherited from Event.) |
Name | Description | |
---|---|---|
hWnd | (Inherited from Event.) | |
lParam | (Inherited from Event.) | |
oWindow | (Inherited from Event.) | |
uMsg | (Inherited from Event.) | |
wParam | (Inherited from Event.) |