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
1 registered members (TipmyPip), 18,388 guests, and 6 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
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 | 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