NikkoPro Posted September 23, 2008 Report Share Posted September 23, 2008 Hi I trying to hide the mouse cursor in a LV 8.5 project. I trying to use .NET to do this, whit library: System.Windows.Forms and Cursor.Hide() function.</SPAN> But I not very familiar whit .Net and LabVIEW so I don't get it to work. Hope someone can help me. /Niklas Quote Link to comment
TobyD Posted September 23, 2008 Report Share Posted September 23, 2008 QUOTE (NikkoPro @ Sep 22 2008, 06:31 AM) Hi I trying to hide the mouse cursor in a LV 8.5 project. Here is one way to do it, but I'm curious why you want to hide the cursor? Most of the time when a user cannot see the cursor they immediately think the program is not responding and try to Alt+Ctrl+Del out of it. Note: This only hides the cursor, it does not disable it. Download File:post-8758-1222098840.vi Quote Link to comment
NikkoPro Posted September 23, 2008 Author Report Share Posted September 23, 2008 QUOTE (TobyD @ Sep 22 2008, 05:57 PM) Here is one way to do it, but I'm curious why you want to hide the cursor? Most of the time when a user cannot see the cursor they immediately think the program is not responding and try to Alt+Ctrl+Del out of it.Note: This only hides the cursor, it does not disable it. Download File:post-8758-1222098840.vi I I'm doing a game and using 3D Picture Control (just for fun), in the game the user can control place out some object whit the mouse, I use the mouse coordinate to put out the object in the word, but it is really annoying to see the mouse cursor in move around at the same time as the object is moving in the 3D word.. Thanks for your example, but it only hide the cursor in the VI panel.. I wold like to hide it totally. Btw.. The game goal is to be similar to the game "Flash Element TD" but in 3D. /Niklas Quote Link to comment
MikaelH Posted September 23, 2008 Report Share Posted September 23, 2008 Hi Niklas This is a perfect opportunity to use an OO approach. I did a simple "Creature in a maze" solution that you can download from here if you are interested. http://goop.endevo.net/GDS/MaceGame.zip (These classes needs a class template that you can get by running the installer below) http://goop.endevo.net/GDS/OpenGoop_Installer_03.zipThere is also a debug video that shows how to debug the objects using GDS here: http://goop.endevo.net/GDS/videos/GDS_Debug.swf.html Lycka till, Cheers, Mikael Quote Link to comment
tnt Posted September 24, 2008 Report Share Posted September 24, 2008 QUOTE (MikaelH @ Sep 23 2008, 12:05 AM) Hi NiklasThis is a perfect opportunity to use an OO approach. I did a simple "Creature in a maze" solution that you can download from here if you are interested. http://goop.endevo.net/GDS/MaceGame.zip (These classes needs a class template that you can get by running the installer below) http://goop.endevo.net/GDS/OpenGoop_Installer_03.zipThere is also a debug video that shows how to debug the objects using GDS here: http://goop.endevo.net/GDS/videos/GDS_Debug.swf.html Lycka till, Cheers, Mikael Hi Mikael, I was very curious about your example, unfourtunately for me, the link(s) failed (Outlook Web Access appeared) <updated> After 'Copy Shortcut' and stripping the first part, the download succeeded. Both links are directed to the same location so you should link the first to MaceGame.zip Here are the working ones... </updated> keep on OOP-ing :worship: , TNT Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.