Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (degenerate_762, AbrahamR, AndrewAMD, ozgur), 667 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
cursor appearance over title bar and borders #283601
08/08/09 18:24
08/08/09 18:24
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline OP
Serious User
Scorpion  Offline OP
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
hello,
the mouse cursor is always the same .ico, when it's over the engine window, even on the title bar and the window borders. When you turn it invisible it's really annoying, because you can't see if you are on the title bar to move the window.
Another thing to mention is, when you activate thick resizable borders, you won't see the fitting arrows for that.

It would be good, if you could make this behave in the default way. Of course I can check the mouse position and change the cursor image dependent, but that would be sort of a hack.

Scorpion

Re: cursor appearance over title bar and borders [Re: Scorpion] #283808
08/10/09 08:15
08/10/09 08:15
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
You can not use mouse_map over the border or title bar. That's a DirectX function and only works within the Window.

Changing the mouse cursor over the title bar or border is automatically handled by Windows. Thus, it switches to arrows when you activate a thick border, but not with the thin default border.

Re: cursor appearance over title bar and borders [Re: jcl] #284127
08/11/09 20:22
08/11/09 20:22
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline OP
Serious User
Scorpion  Offline OP
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
Yeah, I know that with the dx-cursor, but when the dx cursor is set to visible, there is no cursor over the window borders (it's the correct behaviour over the window content of course, but it stays the same outside of it).

And if you do not activate the dx-cursor, you see see the (windows-)mousecursor defined by mouse_pointer on the borders.

In any other application it works correct, so it's not my windows version. I know it's not a big issue, but would be cool if you could look at it.

Re: cursor appearance over title bar and borders [Re: Scorpion] #284195
08/12/09 06:49
08/12/09 06:49
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
I was having a similar problem when embedding the engine into a C# form. The default cursor is the 'hand' but it was also this when hovering over the title-bar and window buttons.

I solved my issue by running the engine in a different thread, so i guess the engine was overriding messages from the OS. Maybe handling WM_SETCURSOR may help.


Moderated by  old_bill, Tobias 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1