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 Professional Discussion / Change mouse command

Author
Message
Frans
17
Years of Service
User Offline
Joined: 12th Sep 2008
Location: Netherlands
Posted: 25th Apr 2010 17:27
Hi,

In the change mouse - help it says:

... In order to use your own custom cursor, you must
first fill the cursor media with an arrow in the first slot and an hourglass in the second slot to maintain basic application requirements. ...

I cannot find the standard arrow- & hourglass .cur files in the windows/cursors- or TGC directories though.

Sure I see a couple of look-alikes, but where are the originals?
Do I have to look for other file extensions maybe?

Frans
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 25th Apr 2010 18:16 Edited at: 25th Apr 2010 18:21
I found the files easily in the Windows/Cursors folder on my Windows XP laptop - but could only get options 0 and 1 to work in the DBPro program. I'll edit this post when I've checked my Vista machine.

Edit: DBPro adds the standard mouse cursors for you once you've browsed to the right folder - but as far as I can see the cursor window in the editor is ignored.
Frans
17
Years of Service
User Offline
Joined: 12th Sep 2008
Location: Netherlands
Posted: 25th Apr 2010 18:36
Forgot to mention that I'm using XP.
I have the other options (above 0-1) working though.

You said:
"DBPro adds the standard mouse cursors for you once you've browsed to the right folder", could you explain for me please?

I tried to copy all windows arrows to my project-dir, but they all show up different looking.
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 25th Apr 2010 18:51 Edited at: 25th Apr 2010 19:07
Quote: "You said:
"DBPro adds the standard mouse cursors for you once you've browsed to the right folder", could you explain for me please?"


I'm using the latest version of the editor and the cursor panel which I assumed was what you used. The cursor panel has three buttons: Import, Delete and Default Cursors. When you click Default Cursors you have to browse to the Windows Cursors folder and then just click OK and the two cursors will appear in the panel. The first button - Import - allows you to import additional cursors one at a time from the same folder.

Unfortunately, although I was able to get all these cursors "imported" I couldn't get any of them to work.

Quote: "I tried to copy all windows arrows to my project-dir, but they all show up different looking."


Perhaps I forgot to do that? I'll try again and report back.

Edit No. Makes no difference. I can't get the other cursors to work at all in DBPro. How did you get them to work at all?
TDK
Retired Moderator
23
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 25th Apr 2010 19:29 Edited at: 25th Apr 2010 19:34
They work fine - I have 8 different cursors working in Dark Sprites with no problems. (You can download royalty-free cursor sets off the net).

The main problem might be down to the IDE you are using.

In the old IDE with the Project Manager down the right hand side, it works after the cursors are added, but there is a problem with the IDE when it loads in the .dbpro file - it only loads the first two cursors from the list.

It works fine for me in the newer Synergy-based IDE though. I'm using Build: March 11 2010.

As has already been said, if you use alternative cursors, numbers 0 and 1 on the cursor list in the project manager must be an arrow and an hourglass. But they don't have to be from the Windows\Cursors directory - they can be .cur files from anywhere.

The rest can be in whatever order you want - just use the required number with the Change Mouse command.

Quote: "I have the other options (above 0-1) working though"


When you say cursors 0 and 1 are not working, do you mean they are not being switched automatically by the system or not appearing when you use Change Mouse 0 or Change Mouse 1?

When I want the arrow cursor in my program I have to use Change Mouse 0.

TDK

Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 25th Apr 2010 20:16
I think he said 0 and 1 WERE working.

I can't get any other cursors working at all and I'm using the Apr 7 2010 version of the new IDE that comes with U7.5b11.

When I try to use options 2, 3 4, etc, no mouse shows at all. Cursors 0 and 1 show fine when I switch back to them - and this happens with or without the cursors present in the cursors panel in the project manager. How is that panel supposed to work exactly?
Frans
17
Years of Service
User Offline
Joined: 12th Sep 2008
Location: Netherlands
Posted: 25th Apr 2010 20:21
Green Gandalf,
I was not using the latest editor version, so didn't know about the import option for the standard 1st two cursors.
After you told me and I tried it I indeed found Arrow.cur and Wait.cur to have been copied to my workdir.
But ..., when I do a search for Arrow.cur on my system, it doen't find it !! (Except for the one misteriously copied to where we want it)
So, without this new editor I have no chance in detecting it.
It could be a hidden file or so, want to realy figger it out.
Can't stand it when the system makes a fool of me ..

TDK,
I have them all working.
Green Gandalf had a little problem with the ones above 0-1.
My problem was that I could not find the correct (standard) .cur files.

Would any of you two please do a search for these files and see what it comes up with?
Frans
17
Years of Service
User Offline
Joined: 12th Sep 2008
Location: Netherlands
Posted: 25th Apr 2010 20:28
Green Gandalf,
I don't trust the latest editor at all.
It gave me already more suprises then I'm willing to encounter.
Could you maybe try it in the old one?
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 25th Apr 2010 20:39 Edited at: 25th Apr 2010 20:41
Quote: "Would any of you two please do a search for these files and see what it comes up with?"


That was the first thing I tried - and Windows found nearly 300 *.cur files and most of them are in C:\WINDOWS\Cursors. Here's a selection:



For some mysterious reason my Arrow cursor seems to have been modified while I've been investigating this. I wonder why?

I know what you mean about the new editor - but I wouldn't go back, not even to check a point. Sorry.
Frans
17
Years of Service
User Offline
Joined: 12th Sep 2008
Location: Netherlands
Posted: 25th Apr 2010 20:50
I'm sorry, you said you did.

Thanks man.
TDK
Retired Moderator
23
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 25th Apr 2010 23:11
I too have many .cur files in the C:\Windows\Cursors directory - 184 of them, of which 8 are various arrow cursors.

But, I don't have one called Arrow.cur like Green Gandalf has.

Though as you probably already know, it doesn't have to be called that. Whichever one of the others you load in is OK - as long as it's an arrow.

It sounds like the cursors side of things is broken in the new editor so I'm now reluctant to 'upgrade' to it now - in case I lose what I've got at the moment!

TDK

Frans
17
Years of Service
User Offline
Joined: 12th Sep 2008
Location: Netherlands
Posted: 25th Apr 2010 23:21
Yes, I have also 185 or so, just can't find the Arrow.cur.
By using the new editor it finds it somewhere in a millisecond ..
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 26th Apr 2010 02:00
Interesting. Windows still finds the arrow cursor even when I move all relevant *.cur files out of the way. I guess the editor finds them in the same place. Shame it can't find or use the other cursors you might want.
Frans
17
Years of Service
User Offline
Joined: 12th Sep 2008
Location: Netherlands
Posted: 26th Apr 2010 02:10
We are using different XP's I think.
I stopt looking for the damned thing.
Must be hidden in some .dll or whatever.
But if not by you with your different editor, I could never have found it.

Login to post a reply

Server time is: 2026-07-27 20:18:03
Your offset time is: 2026-07-27 20:18:03