LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Larger Cursor on the Front Panel

Hello,
 
 I wanted to know if anyone knows how to make the mouse cursor on the front panel larger.  I looked at the Cursor VIs built into LabVIEW, but it seems none of them actually change the size of the cursor, but just the cursor image.
 
Thank you,
 
Russell 
Director of Engineering
G Systems, www.gsystems.com
Certified LabVIEW Architect
Certified LabVIEW Embedded Systems Developer
Certified Professional Instructor
GCentral
0 Kudos
Message 1 of 4
(3,451 Views)
You didn't say what operating system. Assuming Windows, you can try the SetCursor Windows API function. Example.
0 Kudos
Message 2 of 4
(3,428 Views)

Thank you for your help.  I am using Windows XP.

The link you sent does the same thing as the Create Cursor From File.vi that is part of the cursor VIs in LV, see the attached image.  The VIs you mentioned were written in LV 5 and I think that was before they had the built in cursor VIs. 

It looks like you can use the Create Cursor From File.vi to create a custom cursor, but I think the size is limited to 16 X 16 image. So it wouldn't make the cursor any larger.  I think what I need to some way to scale the cursor itself not just change the image.

Any help you can give me would be great.

Thanks,

Russell

Director of Engineering
G Systems, www.gsystems.com
Certified LabVIEW Architect
Certified LabVIEW Embedded Systems Developer
Certified Professional Instructor
GCentral
0 Kudos
Message 3 of 4
(3,419 Views)
Yes, I know about the cursor functions. That example uses the LoadImage function (even though the Call LIbrary function is labeled LoadCursor) that allows you to scale the image by setting values for the "cxdesired" and "cydesired" inputs. For instance, I set these two values to 50 and got a large hourglass cursor. See attached image.

Message 4 of 4
(3,403 Views)