LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I Use labview to snap my mouse to the left edge of the screen at the start of my program?

Solved!
Go to solution

I'm trying to get it so when my VI starts it instantly snaps the curor to the left edge of the screen but then allows cursor movement after this. Is there a way to get LabView to do this?

"There will be water if God wills it"
0 Kudos
Message 1 of 3
(2,075 Views)
Solution
Accepted by topic author Nproach

Hi Nproach

 

Try using this community example.  It calls the User32.dll library and takes advantage of the SetCursorPos function.


Regards,

Peter D

Message 2 of 3
(2,070 Views)

Thank you for that, it helped quite a bit

"There will be water if God wills it"
0 Kudos
Message 3 of 3
(2,057 Views)