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.

DarkBASIC Discussion / need help plez help :-))

Author
Message
dance dreemer
22
Years of Service
User Offline
Joined: 24th Jan 2003
Location: cyber space
Posted: 25th Aug 2003 22:01
im not shure if it can be done but can you change the mouse pointer in db i mean the (cursor) for an other one or load an .ico into db
if so can some 1 give me the command or tell me how to change it thanx. ive looked in the db user manul and it dosent say aneything about changing the mouse pointer if some could help it would be moast greatfull. thanx again.....dancedreemer
Mentor
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 26th Aug 2003 00:34 Edited at: 26th Aug 2003 00:35
I assume you are in DarkBasic classic, all you need to do is

hide mouse

and then load a small image

load image "pointer",1

then make it into a sprite that is at the mouse position

sprite 1,mousex(),mousey(),1

that gives you a sprite that will mimic the mouse pointer, the selection position (the x,y) is in the middle of the sprite, if you want it at the point of an arrow pointer for example, then just offset the mousex() and mousey() positions by adding or subtracting the correct value, cheers

Mentor.
koshi
21
Years of Service
User Offline
Joined: 20th Aug 2003
Location: Cyberspace
Posted: 26th Aug 2003 06:29
well this is a the darkbasic classic section..

Famous last words -
Pull the pin and count to what?
dance dreemer
22
Years of Service
User Offline
Joined: 24th Jan 2003
Location: cyber space
Posted: 26th Aug 2003 18:07
thanx mentor it works great ( BIG CHEEZEY GRINZ ) dancedreemer

Login to post a reply

Server time is: 2025-05-19 23:05:39
Your offset time is: 2025-05-19 23:05:39