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
mouse_left, update problem #178817
01/19/08 17:40
01/19/08 17:40
Joined: Jan 2003
Posts: 4,305
Damocles Offline OP
Expert
Damocles  Offline OP
Expert

Joined: Jan 2003
Posts: 4,305
in A6, (not tested in A7)

the flag "mouse_left"
is kept on, when the mouse is beeing pressed, and the user leaves the screen
in window mode (leaving with the mousecursor to the desktop).
When entering the window again, the flag is still set to on, even
when the mouse is not pressed.

This is probably caused, since there is no syste message reaching acknex, when the window is
not on focus.

When exiting the window with the mouse, the flag should be set to off.

This way, a not existing condition (mouse pressed) is not set to true.

Re: mouse_left, update problem [Re: Damocles] #178818
01/21/08 07:34
01/21/08 07:34
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
I've just tried it and it seems not to happen with the current version. The window does not need to be in focus for system messages.

If you don't have A7, please check it with the trial version and your project. Does it then still happen?

Re: mouse_left, update problem [Re: jcl] #178819
01/21/08 22:19
01/21/08 22:19
Joined: Jan 2003
Posts: 4,305
Damocles Offline OP
Expert
Damocles  Offline OP
Expert

Joined: Jan 2003
Posts: 4,305
The bug is not in A7, as I saw from a test.

But it is in A6.6

Re: mouse_left, update problem [Re: Damocles] #178820
01/22/08 08:21
01/22/08 08:21
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
A7 uses a different mouse code than A6. The problem is not mentioned on the bug list. I guess it was an A6 bug that no one encountered during A6's lifetime.

A6 is not developed anymore, so the only solution is fixing it by software. Buffer mouse_left to a variable, check mouse_valid and reset the variable when mouse_valid is 0.

Re: mouse_left, update problem [Re: jcl] #178821
01/22/08 08:46
01/22/08 08:46
Joined: Jan 2003
Posts: 4,305
Damocles Offline OP
Expert
Damocles  Offline OP
Expert

Joined: Jan 2003
Posts: 4,305
Ok, thanks.
Mouse_valid can be used as flag for
crafting a workaround.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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