Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
2 registered members (Grant, AndrewAMD), 911 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 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