09-21-2011 01:29 PM
Does any one know how i can make my cursor turn transparent while I am running a labview program? I'm finding it rather obtrusive to have my mouse visible at all times during the program when it doesnt need to be
09-22-2011 04:20 AM
This is a good place to start:
https://decibel.ni.com/content/docs/DOC-9253
09-22-2011 06:38 AM
You can also do this using User32.dll
https://decibel.ni.com/content/docs/DOC-17854
Just make sure to set the cursor back on when you are finished!
Regards,
Steve
09-22-2011 08:34 AM
I think making the cursor transparent is a BAD idea. What happens if your program crashes? Now you can't see the cursor. If it's obtrusive, then move the cursor off to the side. You can do this programmatically if you need to.
09-22-2011 10:55 AM
@smercurio_fc wrote:
What happens if your program crashes?
Ctrl-alt-delete and cancel should return the cursor to a useable state.
09-22-2011 11:31 AM
@smercurio_fc wrote:
I think making the cursor transparent is a BAD idea. What happens if your program crashes? Now you can't see the cursor. If it's obtrusive, then move the cursor off to the side. You can do this programmatically if you need to.
Not only that but the mouse will probably still be functional. If you don't know where the cursor is and click then who knows what will happen.
09-22-2011 11:36 AM
However, when running on a touch screen its juicy ..unless the touch screen driver should crash that is..
09-22-2011 01:39 PM
@Steve Chandler wrote:Not only that but the mouse will probably still be functional. If you don't know where the cursor is and click then who knows what will happen.
Ah, but that's the fun part. Best done with an "Are you sure you want to format c:?" window up. :rofl
09-22-2011 04:06 PM
I agree with S-mercurio. Don't mess with the cursor.
09-22-2011 05:22 PM
Look i'm making it invisble because my boss wants it that way but moving it to the side is not an option. It's not a high maintenance program so i'll take the risk of a computer crashing but if it does i'm sure i will figure something out. Thank you for your suggstions though and Stephen that looks great thanks