MS Windows XP seems to have a seperate keyboard buffer for each process that checks for keys. The problem with that is, I need a way to capture keys and check the sequence even if the charactors type are going into notepad. I'm not sure the way I'm explaining it is completely clear, so I'll explain what it is I'm trying to do :P
I'm trying to make a small app that will open it's GUI when the user types [ctrl], [windows key], [alt], [space]... However, what was supposed to be a BIOS level interupt is caught by MS Windows, and blocks me from catching the keys when Windows's focus is on notepad or any other program.
I know it's possible, because its done in keyloggers, Launchy (awesome lil app you all should get), and a few other places. So any suggestions?
this link may help you
http://www.masm32.com/board/index.php?topic=8221.0
QuoteI'm trying to make a small app that will open it's GUI when the user types [ctrl], [windows key], [alt], [space]... However, what was supposed to be a BIOS level interupt is caught by MS Windows, and blocks me from catching the keys when Windows's focus is on notepad or any other program.
Why those particular keys, and what does this have to do with a BIOS-level interrupt?
Those keys do not generate normal keypress messages.
Luckily you don't need to do anything special - use GetAsyncKeyState or GetKeyState to check that each of the keys are down.
Quote from: MichaelW on December 01, 2007, 12:06:16 PM
QuoteI'm trying to make a small app that will open it's GUI when the user types [ctrl], [windows key], [alt], [space]... However, what was supposed to be a BIOS level interupt is caught by MS Windows, and blocks me from catching the keys when Windows's focus is on notepad or any other program.
Why those particular keys, and what does this have to do with a BIOS-level interrupt?
Ur a mod? lol
Quote from: Tedd on December 01, 2007, 03:14:11 PM
Those keys do not generate normal keypress messages.
Luckily you don't need to do anything special - use GetAsyncKeyState or GetKeyState to check that each of the keys are down.
Thx :D