Computer Science Canada

hiding the mouse

Author:  crysis [ Tue May 12, 2009 7:19 pm ]
Post subject:  hiding the mouse

hey im making a hunting game and i want to hide the mouse so when the sight moves thats all u see and not the mouse.

Author:  TheGuardian001 [ Tue May 12, 2009 7:24 pm ]
Post subject:  Re: hiding the mouse

As far as I know this isn't possible in Turing. The commands for hiding and showing the mouse weren't implemented before HoltSoft stopped producing Turing. I'm sure there's probably some huge elaborate way to do it, but there is no way directly built in to Turing.

Author:  crysis [ Tue May 12, 2009 7:31 pm ]
Post subject:  RE:hiding the mouse

oh ok thanks i guess il have to do without

Author:  BigBear [ Tue May 12, 2009 7:34 pm ]
Post subject:  RE:hiding the mouse

Turing doesn't access any Windows functions I want to say API's is that the right word?

Author:  crysis [ Tue May 12, 2009 7:44 pm ]
Post subject:  RE:hiding the mouse

idk wat your talking about

Author:  Shanethe13 [ Tue May 12, 2009 9:31 pm ]
Post subject:  Re: RE:hiding the mouse

BigBear @ Tue May 12, 2009 7:34 pm wrote:
Turing doesn't access any Windows functions I want to say API's is that the right word?

Yep, API is the right term. Although one possible way to accomplish this would be writing a VBS file to call the needed methods, and running the file from Turing.

Author:  BigBear [ Wed May 13, 2009 2:17 pm ]
Post subject:  RE:hiding the mouse

and what would this script look like?

Author:  corriep [ Wed May 13, 2009 8:19 pm ]
Post subject:  Re: hiding the mouse

Turing:
View.Set ("nocursor")
Thats all you need, make sure its your first line.

Author:  Dusk Eagle [ Wed May 13, 2009 9:51 pm ]
Post subject:  Re: hiding the mouse

corriep @ Wed May 13, 2009 9:19 pm wrote:
Turing:
View.Set ("nocursor")
Thats all you need, make sure its your first line.

Despite what it may sound like, "nocursor" does not hide the mouse. From the documentation:
Quote:
"cursor", "nocursor" - Causes the cursor to be shown (or hidden). The cursor is only displayed when the program is awaiting input.

All it hides is the blinking bar that tells you where inputted text will appear when you use statements like "get", not the mouse itself.


: