Tech Off Post

Single Post Permalink

View Thread: Stopping customers from using Alt-Tab and the Windows-Key in my application.
  • User profile image
    intrepid

    I have a WPF application that I want to remain on the screen on the notebooks in my shop, and I don't want customers to exit out of it. I don't mind if they press Alt-F4 (as exiting the application locks the computer) but I don't want any other keys to do anything at all.

    I know this can be done, but not how it can be done in WPF/C#. Can someone provide samle code? Or does someone have a better solution?

    Thanks, Intrepid.