Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Hide Idle Mouse??

Author
Message
Asternus
20
Years of Service
User Offline
Joined: 11th Aug 2004
Location: N.C. U.S.A
Posted: 23rd Aug 2004 11:35
Is there any way to hide the mouse when it's not being used?
And When It's moved, make is show?...I have only 2 hours a day to work with it. I looked through most of the documents and didn't find anything about it.
So I get kinda lost sometimes in what I'm doin.

P.S.
Is the DB site closed or something.
http://dbdn.thegamecreators.com
Ilya
21
Years of Service
User Offline
Joined: 10th Aug 2003
Location:
Posted: 23rd Aug 2004 11:50 Edited at: 23rd Aug 2004 11:56
Yes
do
if mousemovex()=0 or mousemovey()=0 then hide mouse else show mouse
loop
[EDIT]
That code is slow though.

Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 23rd Aug 2004 15:01
This way the mouse isn't constantly being shown or hidden. Also works around the problem of mousemovex() being too quick.



"eureka" - Archimedes
Asternus
20
Years of Service
User Offline
Joined: 11th Aug 2004
Location: N.C. U.S.A
Posted: 24th Aug 2004 23:36
Thanks...
That's kinda what I was doing.Just thought there was some command like,MOUSEIDLE(),or something. ...oh well.
Asternus
20
Years of Service
User Offline
Joined: 11th Aug 2004
Location: N.C. U.S.A
Posted: 29th Aug 2004 03:39
1 more question...
How do I stop the mouse from being Glitchy?
Sir Spaghetti Code
20
Years of Service
User Offline
Joined: 12th Jul 2004
Location: Just left of Hell
Posted: 29th Aug 2004 06:00
Are you placing your SYNCs correctly?

"I attribute the quarrelsome nature of the Middle Ages young men entirely to the want of the soothing weed."
-Jerome K. Jerome(1859-1927),Writer
Indian Homie G
20
Years of Service
User Offline
Joined: 23rd Jan 2004
Location: San Jose, CA
Posted: 29th Aug 2004 06:01
yah put one at the end of yer loop

AMD Athlon XP 3000+, S3 Deltachrome s8, 512 PC3200 RAM, 160 GB HD
Asternus
20
Years of Service
User Offline
Joined: 11th Aug 2004
Location: N.C. U.S.A
Posted: 29th Aug 2004 06:37 Edited at: 29th Aug 2004 06:38
I think so.Here is my code


Right now I'm learning commands,so I'm putting them in 1 code...

Login to post a reply

Server time is: 2024-11-27 08:41:54
Your offset time is: 2024-11-27 08:41:54