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 / changing the cursor image

Author
Message
GameMaker Jason
21
Years of Service
User Offline
Joined: 22nd Nov 2003
Location: UK
Posted: 20th Mar 2004 11:42
how do i change the cursor image so that when the program loads i have a different cursor image i've tried
but i just get the hour glass(egg timer) cursor? btw i load my cursor usng the button in the ide.

CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 20th Mar 2004 15:30 Edited at: 20th Mar 2004 15:30
If I remember rightly there is a problem with the IDE vs the DBP call to the cursor images being offset by 1. I think the ide indexes the cursors starting from 1, where in code you start at 0. Load a few cursors in the ide and experiment with calling them offset by -1 in code to see if the correct one loads.



Home of the VB.NET Class Builder Utility - Demo available now!
GameMaker Jason
21
Years of Service
User Offline
Joined: 22nd Nov 2003
Location: UK
Posted: 20th Mar 2004 15:53
do you know if this will be fixed in update 6

CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 20th Mar 2004 16:20
I am not sure but either way the cursors can be set to whatever you like just as long as you refer to them in code offset by 1 from their index value in the ide list.



Home of the VB.NET Class Builder Utility - Demo available now!
soapyfish
21
Years of Service
User Offline
Joined: 24th Oct 2003
Location: Yorkshire, England
Posted: 21st Mar 2004 04:02 Edited at: 21st Mar 2004 04:26
According to my memory a value of zero uses the normal arrow and a value of one will use the hourgalss cursor values 2 to 31 are the cursors that you specify.



Login to post a reply

Server time is: 2024-11-26 09:41:29
Your offset time is: 2024-11-26 09:41:29