Admin Production ni-theme
Current Publication

Extended Mouse Events

LabWindows/CVI

Extended Mouse Events Class Help

This class contains functions that enable a control to receive the following extended mouse events in addition to the built–in LabWindows/CVI mouse events.

EVENT_MOUSE_MOVE
EVENT_LEFT_MOUSE_UP
EVENT_RIGHT_MOUSE_UP

The following events are built–in LabWindows/CVI mouse events:

EVENT_LEFT_CLICK
EVENT_LEFT_DOUBLE_CLICK
EVENT_RIGHT_CLICK
EVENT_RIGHT_DOUBLE_CLICK
EVENT_MOUSE_POINTER_MOVE
EVENT_LEFT_CLICK_UP
EVENT_RIGHT_CLICK_UP

The built-in mouse events occur when the mouse button is pressed down.

For each extended and built-in event:

eventData1 is the vertical mouse coordinate
eventData2 is the horizontal mouse coordinate

EVENT_MOUSE_MOVE is sent when the mouse moves, regardless of whether a mouse button is down or whether the mouse is over the control for which you enable extended mouse events. You can specify the minimum interval between mouse move events.

Library: Programmer's Toolbox Control