Example Programs

Showing results for 
Search instead for 
Did you mean: 

Set Mouse Cursor to Busy (hourglass) or Custom Cursor


This VI shows how you can set the cursor to busy, so it appears as an hour glass. This example also shows how to set the cursor to a custom cursor file.



It is possible to change the appearance of the mouse cursor with built in LabVIEW functions.

This functions can be handy if you want to give the user of your program feedback about the state of the application (busy) or point the user to special functions.

This VI demonstrates the ability to set the cursor to an hour glass or to a custom cursor.




  • LabVIEW Base Development System 2012 (or compatible)


  • No hardware is necessary to use this example VI


Steps to Implement or Execute Code

  1. Download and open the attached VI
  2. Run the program


Additional Information or References

Set Mouse To Busy Or Custom Cursor - Front Panel.png


Set Mouse To Busy Or Custom Cursor - Front Panel.png


Note: You cannot use this example on RT targets (all cursor VIs are unsupported in LabVIEW 2016 Real-Time):


Real-Time Module on NI Linux Real-Time Targets - LabVIEW 2016 Real-Time Module Help - National Instruments


**The code for this example has been edited to meet the new Community Example Style Guidelines. The edited copy is marked with the text ‘NIVerified’. Read here for more information about the new Example Guidelines and Community Platform.**