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.

Dark GDK / dbSetCursor (dbRnd (1280), dbRnd (768))

Author
Message
pancakeguy
15
Years of Service
User Offline
Joined: 9th Jun 2009
Location: Great White North
Posted: 15th Jun 2009 02:10
Well i made a tiny tidbit of code just to test how this works, but sadly it didnt work too good.

I made it activate upon hitting enter
A timer shows window when timer ends.
It is \"SUPPOSED\" to make the cursor on your desktop screen go everywhere. but i dont know if this is the right code



or its attached:

Attachments

Login to view attachments
Lilith
16
Years of Service
User Offline
Joined: 12th Feb 2008
Location: Dallas, TX
Posted: 15th Jun 2009 07:28
The cursor can't be made to go outside your application with Dark GDK. It's constrained to your application's viewport.

Lilith, Night Butterfly
I'm not a programmer but I play one in the office
Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 15th Jun 2009 13:39
And 'dbSetCursor' doesn't move the mouse cursor
It moves the output point of dbPrint and dbInput. To move the mouse use 'dbPositionMouse'.

pancakeguy
15
Years of Service
User Offline
Joined: 9th Jun 2009
Location: Great White North
Posted: 15th Jun 2009 19:25
Thanks, didnt know that, now it works perfect and its fun to watch my cursor fly!!

Login to post a reply

Server time is: 2024-11-05 23:35:15
Your offset time is: 2024-11-05 23:35:15