Example Code

Show or Hide Cursor in LabVIEW

Code and Documents

Attachment

By using the ShowCursor() function from user32.dll you can show and hide the cursor programatically, if you select 0 and decrement the return count to 0 or below then the cursor will be hidden within the LabVIEW front panel, while setting this to 1 and running the program to set the return count to 1 or greater then it will show the cursor.

ShowCursor.png

Applications Engineer

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors