Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
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
2 registered members (Ayumi, alibaba), 704 guests, and 11 spiders.
Key: Admin, Global Mod, Mod
Newest Members
lorikob361, LucasJoshua, Baklazhan, Hanky27, firatv
19054 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
key locked when no !window_focus #325701
05/27/10 18:26
05/27/10 18:26
Joined: Jul 2007
Posts: 959
nl
F
flits Offline OP
User
flits  Offline OP
User
F

Joined: Jul 2007
Posts: 959
nl
i believe the keys are loced when you dont look on the window.

is ther any way to detect if you touch a schreen even if you have no windows focus

thx flits


"empty"
Re: key locked when no !window_focus [Re: flits] #325705
05/27/10 18:33
05/27/10 18:33
Joined: May 2007
Posts: 2,043
Germany
Lukas Offline

Programmer
Lukas  Offline

Programmer

Joined: May 2007
Posts: 2,043
Germany
I think this is only possible with WINAPI functions.
http://msdn.microsoft.com/en-us/library/ms646293%28VS.85%29.aspx

Re: key locked when no !window_focus [Re: Lukas] #325707
05/27/10 18:42
05/27/10 18:42
Joined: Jul 2007
Posts: 959
nl
F
flits Offline OP
User
flits  Offline OP
User
F

Joined: Jul 2007
Posts: 959
nl
thx that dit it

GetAsyncKeyState(VK_SPACE);

i was very clos this was my try

GetKeyState("0x20");

but i discoverd that you cant do the "0x20" stuff


"empty"
Re: key locked when no !window_focus [Re: flits] #325709
05/27/10 18:59
05/27/10 18:59
Joined: May 2007
Posts: 2,043
Germany
Lukas Offline

Programmer
Lukas  Offline

Programmer

Joined: May 2007
Posts: 2,043
Germany
GetKeyState(0x20);

I don't know why you possibly could have thought that you'd have to use quotation marks, but remove them. wink

Re: key locked when no !window_focus [Re: Lukas] #325712
05/27/10 19:04
05/27/10 19:04
Joined: Jul 2007
Posts: 959
nl
F
flits Offline OP
User
flits  Offline OP
User
F

Joined: Jul 2007
Posts: 959
nl
ok i am not a real expert here but great to know that you kan do that
mostly i defined the ones that werent defined already


thx again


"empty"

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