|
-
Mar 28th, 2001, 05:44 PM
#1
Thread Starter
New Member
Hello people,
I have made a system wide hotkey to play a sound when pressed. It works fine except when I run a game in full screen mode. Like when I run championship manager in windowed mode, the hotkey works, but when I switch the game to full screen mode, the hotkey stops functioning. I have tried to set the thread priority and prioity class for the hotkey program, but it doesn't work. Can anyone suggest anything I could do.
Chen Ling
-
Mar 30th, 2001, 03:19 AM
#2
there is nothing you can do.
The game probably uses direct x. If direct x hooks the keyboard, it is in fact interrupting the keys. There are two ways a game can do this. One of them doesn't send the keypresses on to windows.
-
Mar 30th, 2001, 04:20 PM
#3
it probably still won't work. Game Directx hooks (if that is how it did it) still have priority over all other keyboard input because they bypass the operating system apis altogether.
-
Mar 30th, 2001, 04:43 PM
#4
Thread Starter
New Member
In that case, how does programs such as Roger Wilco or BattleCom work? surely there's some way of doing it.
-
Mar 30th, 2001, 05:50 PM
#5
Take a look at your other thread.
-
Mar 30th, 2001, 07:00 PM
#6
doesn't rogerwilco require directx also? It probably hooks the keyboard the same way the game does.
You can even recieve the window and menu keys before the os gets them.
-
Mar 30th, 2001, 07:06 PM
#7
Thread Starter
New Member
directx? great, I know absolutely nothing on programming with directx, know anywhere I can get some info, would the directx sdk help?
-
Mar 30th, 2001, 07:30 PM
#8
Thread Starter
New Member
I've just read a whole lot on directinput from msdn site. And I think this might be the answer, thanks for your help, I really appraciated.
Chen Ling
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
|