How to trap CTRL-S in Console Application

D

dfreer

I can't figure out how to catch (or disable) CTRL-S being pressed in
my Console Application! If I do press CTRL-S everything stops until I
press another key.

I can catch everything else (windows close event, CTRL-C, CTRL-BREAK,
Logout, Shutdown etc) - but can't see how to deal with CTRL-S.

Any ideas gratefully received.

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top