H O W
C A N
I
L O C K
T H E
K E Y B O A R D
???
meanin: if the user presses any key, nothin happens...... (win doesn't get any impulse from the keyboard b'coz my program called an api to LOCK the keyboard..)
( :] )
Printable View
H O W
C A N
I
L O C K
T H E
K E Y B O A R D
???
meanin: if the user presses any key, nothin happens...... (win doesn't get any impulse from the keyboard b'coz my program called an api to LOCK the keyboard..)
( :] )
It depends on what you are using in terms of a programming languague. For C++, you just don't handle the keyboard events. In assembler, you don't use any interrupts that handle keyboard events.
Can't you lock the keyboard by using DirectInput and set it so it only lets your app get the keys and then if you ignore them problem solved.
he wants to stop other apps having access aswell if I understand him correct, that way if your program just doesn't handle the keyboard events the other programs running will still get them??
I believe that if you put DirectInput in Exclusive mode, you will lock the keyboard for all applications.
That is if you want to include DirectX into the application.
Can't you just not let your application lose focus and then do nothing on keypress?
Is there any secret message in this char pattern? :DQuote:
H O W
C A N
I
L O C K
T H E
K E Y B O A R D
???
I believe you have to make your application have exclusive control or other applications can take focus once your application loses focus.
However, I am not too experienced in this type of thing. Normally, you don't want to do this.
P.S. You cannot disable Ctrl+Alt+Del. There is a thread on this forum that discusses this.
You can disable C->A->D unless you are refering to XP, in which case i'm not sure??
I know that NT you can't. (Sorry. I forgot that Win 9x and ME, you can.)
http://www.vbforums.com/showthread.p...hreadid=189229
(This is why I answer old posts. :p )
:p :p :p :p :p :p :p :p :p
hehe
Ok then, I wasn't complaining anyway I just wasn't sure if you knew they were all old, as I said this sections never had so many active threads, wooppppeeee:D
It was more of a cute way to point out that I'm not crazy in a light tone than to make any point. :D