## Description

Include file: xmousevn.h

Parent class: XEvent

### Overview

To catch events from the mouse like moving using mouse-buttons etc you must install a XMouseHandler. If you use this handler you recieve XMouseEvents which contains information about the mouse-state. For drag/drop you donīt need a XMousehandler but a XDragHandler. Possible event-IDs are

MOU_BTN1CLICK | button 1 clicked
MOU_BTN1DBLCLICK | button 1 double-click
MOU_BTN1DOWN | button 1 down
MOU_BTN1UP | button 1 up
MOU_BTN2CLICK | button 2 clicked
MOU_BTN2DBLCLICK | button 2 double-click
MOU_BTN2DOWN | button 2 down
MOU_BTN2UP | button 2 up
MOU_BTN3CLICK | button 3 clicked
MOU_BTN3DBLCLICK | button 3 double-click
MOU_BTN3DOWN | button 3 down
MOU_BTN3UP | button 3 up
MOU_INITDRAG | the user requested a drag-operation
MOU_MOVE | mouse moved

### Functions

#### GetEventID

#### Return-Value

LONG theID the ID of the mouse-event, see XMouseEvent.

#### Remarks

Returns the ID of the mouse-event. To get a mouse-event you must register a XMouseHandler!

#### GetKeyInfo

#### Return-Value

SHORT keyInfo information of the keyboard

#### Remarks

Returns the state of the keyboard

This document was generated by Jens von Pilgrim's Autodoc