|
-
Sep 24th, 2001, 06:06 AM
#1
Thread Starter
New Member
Disable Key in Shell nonfunction after exec a game
Here is my situation, I made a shell which disable all the task/shortcut keys like a screensaver. and I set a button inside the shell that it can launch a game(eg iabloII) . After I click and run the game, my shortcut keys are back, even if i quit the game, and go back to the shell, the key disable is no longer functioning.
Anyone know why? Please help, thnx
-
Sep 24th, 2001, 06:07 AM
#2
Retired VBF Adm1nistrator
The game probably re-enables all the keys so that they'll work in the game. You'd have to re-disable the keys after the game has finished.
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Sep 24th, 2001, 06:29 AM
#3
Thread Starter
New Member
how? Is there way that I can make those keys disable in the game?
-
Sep 24th, 2001, 06:33 AM
#4
Retired VBF Adm1nistrator
Well keys like Ctrl, Alt, Del, Tab are all rather integral keys to most games. I doubt most games would be playable otherwise !
Anyway, are you doing it like this :
VB Code:
Private Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, lpvParam As Any, ByVal fuWinIni As Long) As Long
Private Const SPI_SCREENSAVERRUNNING As Long = 97
SystemParametersInfo SPI_SCREENSAVERRUNNING, 1&, 0&, 0
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Sep 24th, 2001, 10:47 AM
#5
Thread Starter
New Member
yes, how about removing keys from registry, does game have alt-tab build in to them?
-
Sep 25th, 2001, 02:19 AM
#6
Retired VBF Adm1nistrator
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|