3D Rad - Free 3D game maker - Forum

This forum is now archived!

This forum is locked, and is a read-only version. A new community-ran forum can be found at classdev.net

News:

The 3DRad community can be found at classdev.net.

Pages: [1]

Author Topic: Disable Windows Key  (Read 268 times)

« on: May 26, 2014, 05:07:33 AM »
Hi.

sometimes when game is running and Press Win Key from keyboard the game crash and close the game.Now I want Disable Win key (DIK_LWIN and DIK_RWIN) like iEscKeyDisable() Function.there is any way for this work?

Thanks.
My Game : Star Wars 1.0

http://behdadgame.com/index.php?topic=3.0

possible way, if we found will make a way.
« Reply #1 on: May 26, 2014, 10:01:52 AM »
use a knife to remove the keys  ;D
my strength is the texturing and graphics
« Reply #2 on: May 26, 2014, 10:48:37 AM »
Quote
use a knife to remove the keys  ;D

sure, but this knife must be very sharp. ;D
My Game : Star Wars 1.0

http://behdadgame.com/index.php?topic=3.0

possible way, if we found will make a way.
« Reply #3 on: May 27, 2014, 03:59:23 AM »
can anyone help me?
My Game : Star Wars 1.0

http://behdadgame.com/index.php?topic=3.0

possible way, if we found will make a way.
« Reply #4 on: May 27, 2014, 07:48:20 AM »
not on this planet...

but i hear you may be able to get some help on Pandora...



maybe they can see if "your insanity can be cured"...


--Mike

« Reply #5 on: May 27, 2014, 11:38:14 AM »
inposible completely, use a keyboard linux  :(
my strength is the texturing and graphics
« Reply #6 on: May 29, 2014, 07:53:32 AM »
Thanks joseuz.
I think Mike Now how can Disable Windows Key. ;D
My Game : Star Wars 1.0

http://behdadgame.com/index.php?topic=3.0

possible way, if we found will make a way.
« Reply #7 on: May 29, 2014, 11:21:32 PM »
have you tried using the inputconfig object and assigning the winkeys to "nothing" i mean assign them to a key space and don't use them in the project ??.

I haven't tried this so i cant say if 3drad will capture the input and prevent windows from seeing it.
« Reply #8 on: May 29, 2014, 11:41:40 PM »
Quote
i mean assign them to a key space and don't use them in the project ??.

no,your mean is this:

Code: [Select]
   if (iKeyDown(iKeyCode("DIK_LWIN")))
   {
   }
My Game : Star Wars 1.0

http://behdadgame.com/index.php?topic=3.0

possible way, if we found will make a way.
« Reply #9 on: May 30, 2014, 11:48:44 AM »
yes
« Reply #10 on: May 30, 2014, 11:50:23 AM »
Use this form in your project to keep the script clean
Code: [Select]
if (iKeyDown(iKeyCode("DIK_LWIN"))){}
« Reply #11 on: May 30, 2014, 02:32:04 PM »
more foolishness from the fringe...

--Mike
« Reply #12 on: May 30, 2014, 11:36:41 PM »
Quote
Use this form in your project to keep the script clean
Code: [Select]
if (iKeyDown(iKeyCode("DIK_LWIN"))){}

Thanks But Don't Work  :(
My Game : Star Wars 1.0

http://behdadgame.com/index.php?topic=3.0

possible way, if we found will make a way.
« Reply #13 on: May 31, 2014, 10:00:01 AM »
I told you, impossible!!
my strength is the texturing and graphics
Pages: [1]