Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Mehrdad on Mon 09/05/2011 17:41:44

Title: Disable a key[BUG on win7]
Post by: Mehrdad on Mon 09/05/2011 17:41:44
I done turn on gpanel GUI with Escape key.but if i press ctrl key i cannot appear gpanel again with Escape key !!!!!!!.other keys is not problem.

meantime i did disable many keycodes with //
also i havent this problem on winxp directdraw 5!!!!!!!thats work fine. ???

I use win7 ultimate.directx11

is any code for disable ctrl key like:

//rep_exe
if ((IsKeyPressed(405) == 1)||(IsKeyPressed(406) == 1))
{
!!!!!!!!!
}


i dont know what use code instead '!!!!!!!!'

ClaimEvent()   is dont work in up code.



Mehrdad


Title: Re: Disable a key
Post by: Ryan Timothy B on Mon 09/05/2011 17:58:10
It's an issue with Windows 7 and AGS. I believe it's being looked into.
Hit Shift to have control over the Escape key again.
Title: Re: Disable a key
Post by: Mehrdad on Mon 09/05/2011 18:39:13
OK.thanks Ryan.so this is a bug for AGS and must report to CJ for fix that.ok?
Title: Re: Disable a key[BUG on win7]
Post by: Ryan Timothy B on Tue 10/05/2011 01:17:45
There has been a couple posts referring to this issue. I'm sure he's aware of it.
No need to PM him since he'll be browsing these threads anyway and it won't get to his attention any faster. Also with AGS being open-sourced, someone else might fix it.
Title: Re: Disable a key[BUG on win7]
Post by: Mehrdad on Tue 10/05/2011 11:15:54
Oh yes.sure.your right.thanks Ryan.