LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to load and increase size of a custom cursor on a certain monitor (1st or 2nd)?

In my application I need to load a custom cursor, make it big and display it on the my second monitor in a dual monitor setup to let user click with an additional mouse. I found this thread able to solve the first 2 questions, however the cursor only changes within the VI panel. I had tried but couldn't get a handle to the second monitor, in face, not my primary one as well since I'm not familiar with winapi. I also want to restrict when the user can use the second mouse and only in the second monitor if possible. By the way I am using windows 7 64 bit with Labview 9 32 bit.

 

Thanks,

0 Kudos
Message 1 of 2
(2,542 Views)

 

Ishi,
More than likely, you are going to have to use Windows OS APIs for this. It sounds like you would like to integrate your program at the operating system level, and will have to make calls to Windows to accomplish this in the proper manner.  You can make calls to Windows in LabVIEW through several methods. Check out this example that sets the position of the cursor via a Call Library Function Node to the Windows SDK.  
Cheers,
Aaron

 

National Instruments
0 Kudos
Message 2 of 2
(2,510 Views)