Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: Sep 6, 2006

Determining the Mouse Position Using the Event Structure

6 ratings | 3.17 out of 5
Print

Downloads

Filename: mouse_position.vi
Requirements: View

This VI determines the mouse position using the Event structure. It calculates the position of the VI based on monitor coordinates, and subtracts the position of the front panel origin (this value changes if the horizontal and/or vertical scrollbar on the front panel move). Then, it adds the mouse coordinates from the Event structure based on the front panel origin.

Requirements


Filename: mouse_position.vi

Software Requirements


Application Software: LabVIEW Full Development System 6.1
Language(s): LabVIEW

 
6 ratings | 3.17 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).