Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 10/24/26 01:52
Tradestation missing in table of contents
by AndrewAMD. 10/23/26 14:35
No connection to MT4
by JeyKey II. 10/22/26 15:33
Zorro tutorial ideas?
by mistery. 10/21/26 05:28
Avoid "log\ - delete old files" message
by Martin_HH. 10/20/26 07:23
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (TipmyPip), 7,375 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
JimSimons, julienp, julienper, KelleyAbbey, Yopachi
19246 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