From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Create Cursor from File with big mouse cursor

Hi All,

I'd like to change the mouse cursor to a picture (.cur file) and back to normal again.

With the LabView vi "Create Cursor from File" and "set cursor" VIs it works, but the cursor is limited to 16x16 pixels (it will be shrinked if I load a biger .cur file).

 

Alternatively I tried to use the windows api to set the cursor (according to the example in Thread ) .

Setting the cursor to a biger size works now, but I'm not able to set the cursor back to normal again.

 

It seems to me, that the labview behaviour is overuled by the windows api.

 

Soes somebody know how to store the current cursor behaviour and reset it after I changed the cursor?

 

thank you

 

Mario Hirth

0 Kudos
Message 1 of 2
(4,232 Views)

Hi Mario,

 

I attached you an example which worked the way you want, I guess. It's saved with LabVIEW 8.6. Copy the coursor file cross_i.cur to a location you want and change the path to that location or copy it to C: and leave the path in the path control.

 

Regards.

TomBaum

0 Kudos
Message 2 of 2
(4,172 Views)