Gamestudio Links
Zorro Links
Newest Posts
No connection to MT4
by JeyKey II. 10/29/26 09:34
Zorro plugin for Hyperliquid.xyz
by opm. 10/28/26 13:50
Icon "OP"
by JeyKey II. 10/27/26 07:03
ZorroGPT
by TipmyPip. 10/26/26 08:09
Chat Room for Zorro Programmers
by Haitao_Ren. 10/25/26 03:14
Trading Journey
by Haitao_Ren. 10/25/26 03:14
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (EW_bytes, LucasJoshua), 18,492 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Haitao_Ren, JimSimons, julienp, julienper, KelleyAbbey
19247 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,145
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

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