LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Making a cursor invisible?

I like it when a boss makes demands that really makes no sense and is a horrible idea. 

 

If you are unable to get the invisible cursor to work, perhaps you can do something that locates the mouse off screen programmatically.  And use an event structure to detect mouse movement.  If it gets back on screen, locate it off screen again.

Message 11 of 20
(1,041 Views)

Who do you work for? I want to make sure that if I'm ever looking for a job again I never interview with your boss. Smiley Very Happy

0 Kudos
Message 12 of 20
(1,030 Views)

THat stirng of Kuods is to indicate I am in full agreement that an invisable cussor is a very bad idea.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 13 of 20
(1,025 Views)

@smercurio_fc wrote:

Who do you work for? I want to make sure that if I'm ever looking for a job again I never interview with your boss. Smiley Very Happy


Or on the flip side maybe someday you will interview his boss  Smiley Very Happy

 

 

 

=====================
LabVIEW 2012


0 Kudos
Message 14 of 20
(1,021 Views)

I found a solution that will allow me to do this safely, the curor will be set to appear as busy while the program is running but ive replaced the busy cursor with a blank cursor that does not appear while being used. Since i dont need the cursor while its appearing busy anyway, this should work just fine.

"There will be water if God wills it"
0 Kudos
Message 15 of 20
(1,001 Views)

That is a pretty reasonable solution. I made a comment above about not knowing what you are clicking on if you cannot see the cursor. If the cursor is set to busy then clicks will have no effect.

 

I still think it is strange that your boss requested this and would love to know the reason. Sometimes there is a good reason for doing something that up front seems meaningless.

=====================
LabVIEW 2012


0 Kudos
Message 16 of 20
(995 Views)

we work in a lab and we're using a labview program to record subjects pain rating over time. The way they change thier rating is by moving the mouse to the right of the screen to indicate an increase of pain. Their pain rating out of 100 was displayed as a fill bar indicator, but since the fill bar position was based on a proportion of the screen the mouse and bar didnt line up at all points. It was my boss's opinion that the cursor should be removed to prevent subject distraction and confusion.

"There will be water if God wills it"
Message 17 of 20
(985 Views)

I knew there was a reason - I admit that I am surprised there was a good reason.  Smiley Surprised

=====================
LabVIEW 2012


0 Kudos
Message 18 of 20
(980 Views)

hahaha i know i admittably should have justified the need for removing the cursor in the question. Although for safteys sake and for future reference maybe I should look into moving the cursor off screen at the start of the program since the only data being recorded is the mouses x coordinates moving the mouse above or below the screen would work. Could someone show me how to do this?

"There will be water if God wills it"
0 Kudos
Message 19 of 20
(977 Views)

Well there is a mouse move event. But the mouse has to be over the VI "pane" for it to work. Now I really did not intend any kind of pun - really!

 

You could probably use .NET to find the XY position regardless of what the invisible cursor is over.

 

Example_VI_BD.png

 

=====================
LabVIEW 2012


Message 20 of 20
(971 Views)