Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
4 registered members (TipmyPip, AndrewAMD, dBc, clonman), 18,643 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
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 | 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