Hi, I'm looking for a way to block certain keystrokes when the program is open..
I'd really appreciate a kick in the right direction..
Hi, I'm looking for a way to block certain keystrokes when the program is open..
I'd really appreciate a kick in the right direction..
What type of key strokes do you want to block?
well, like stop people pressing the 'k' key or something...
You could use a screw driver *smile* I am not sure what you are tring to do. Basicly just design your program so it reacts to specific keystroke and don't reacts to 'k'. If you want your program to stop the user from using 'k' when entering input info you can design a test statment that deletes the k when ever it been entered. you could look into kbhit() in comination with getchar()