flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
windwakr 24 Jul 2004, 01:31
how do you get keypresses before windows does then if its a key you dont want pressed dont send it to windows?
|
|||
![]() |
|
silkodyssey 24 Jul 2004, 02:04
One way would be to install a system wide hook and return a non zero value (for messages you don't want to be passed on) from the hook procedure so that the destination window does not receive the message. If you're not familiar with windows hooks you can look at iczelion's example.
http://spiff.tripnet.se/~iczelion/tut24.html It demonstrates a mouse hook but the process is similar for keyboard hooks. _________________ silkodyssey |
|||
![]() |
|
coconut 24 Jul 2004, 04:20
|
|||
![]() |
|
windwakr 24 Jul 2004, 17:33
doesnt work on my computer (win98)
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.