Gamestudio Links
Zorro Links
Newest Posts
Z9 getting Error 058
by jcl. 07/22/26 06:42
ZorroGPT
by TipmyPip. 07/21/26 17:54
New Zorro version 3.11
by jcl. 07/21/26 13:42
Lapsa's very own thread
by Lapsa. 07/18/26 13:40
Purchase A8 full licence version
by ukgamer. 07/17/26 05:52
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (1 invisible), 1,544 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
riggi89, shuhari, KD1990, Ephraim, Student_64151
19223 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Task-Switch #380708
08/20/11 18:52
08/20/11 18:52
Joined: Sep 2005
Posts: 352
Germany
preacherX Offline OP
Senior Member
preacherX  Offline OP
Senior Member

Joined: Sep 2005
Posts: 352
Germany
Hallo zusammen,

habe unter Vista folgendes Problem:

Wenn ich einen Task-Switch durchführe (ALT+TAB) und in meinen Spiel zurückkehre, wechselt die Engine bei Betätigung der ENTER-Taste zwischen Vollbild- und Fenstermodus hin und her!
Außerdem funktioniert die key_any Abfrage nicht mehr bzw. ist immer 0 obwohl ich Tasten drücke?

Kann das jemand bestätigen?

Bei XP passiert dies nicht, Windows 7 kann ich nicht sagen, da ich es nicht besitze.

Re: Task-Switch [Re: preacherX] #380717
08/20/11 22:40
08/20/11 22:40
Joined: Dec 2008
Posts: 1,660
North America
Redeemer Offline
Serious User
Redeemer  Offline
Serious User

Joined: Dec 2008
Posts: 1,660
North America
Is "key_any" the only keyboard variable that doesn't work after a task switch? This is just a guess, but when you task switch to an instance of Gamestudio in Vista with ALT+TAB, Windows is probably mapping your keyboard controls to the title bar controls (minimize, maximize, close) and it's not grabbing the focus of the application itself.

Last edited by Redeemer; 08/20/11 22:41.

Eats commas for breakfast.

Play Barony: Cursed Edition!
Re: Task-Switch [Re: Redeemer] #380756
08/21/11 11:56
08/21/11 11:56
Joined: Sep 2005
Posts: 352
Germany
preacherX Offline OP
Senior Member
preacherX  Offline OP
Senior Member

Joined: Sep 2005
Posts: 352
Germany
Keys are working and I can play the game.

Even ENTER works but when I press it the application switches to fullscreen or window too.
But when it came to a key_any function it won´t work at all.

Does someone have the same problem with Vista or maybe in Windows 7 too?

Play your game, make a task switch (ALT+TAB), go back to your game and then press Enter...

Re: Task-Switch [Re: preacherX] #380776
08/21/11 13:19
08/21/11 13:19
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
exclude default.c

Re: Task-Switch [Re: Rei_Ayanami] #380781
08/21/11 14:05
08/21/11 14:05
Joined: Sep 2005
Posts: 352
Germany
preacherX Offline OP
Senior Member
preacherX  Offline OP
Senior Member

Joined: Sep 2005
Posts: 352
Germany
I don´t have default.c included.

My project is also running with C-Script,
could this cause the problem?

Re: Task-Switch [Re: preacherX] #380840
08/21/11 22:14
08/21/11 22:14
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Oh, sorry. But well, same thing happens with default.c included in Lite-C...


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

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