LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Change mouse's cursor on entire desktop

Hello,

I would like to change the mouse pointer but not only on the front panel of my VI.

I tried using the user32.dll library but I always get an error ...

Do you have an idea of what's wrong?

Thank you.

 

exemple_1.jpgCapture d'écran 2018-07-09 17.52.23.png

Capture d'écran 2018-07-09 17.48.51.pngCapture d'écran 2018-07-09 17.49.10.png

0 Kudos
Message 1 of 3
(2,204 Views)

Did you try putting in the full path to the cursor instead of just the file name?  "C:\Myfiles\cursor2.ani" or whatever, instead of just the file name?

0 Kudos
Message 2 of 3
(2,158 Views)

Hello Kyle97330,

The solution is found (thanks to ouadji), I have to choose stdcall (winapi) in the first panel and it works now.

Now I have another problem with a dll wich expect and unicode null terminated string as input and I can't reach do it...

Thanks.

0 Kudos
Message 3 of 3
(2,149 Views)