Windows doesn't allow you to mask these critical system keys. Though you can trap the messages in your application message pump but the same is also sent to Windows System message pump to take...
Type: Posts; User: Saurav
Windows doesn't allow you to mask these critical system keys. Though you can trap the messages in your application message pump but the same is also sent to Windows System message pump to take...
You may run an infinite loop and use scanf instead of getchar in which you can set the filter for /n. This should help. Do remember to use fflush(stdin) after scanf in the loop.