How to trap the keyboard strokes on a c# win forms application (CTRl + alt +Del)

前端 未结 6 1454
刺人心
刺人心 2020-12-09 00:33

Is there Any way to handle the Ctrl+Alt+Del Key combination. Take for instance in a quiz application (Win Forms), the user should not be abl

6条回答
  •  醉话见心
    2020-12-09 00:54

    Have a look here:

    http://www.thescarms.com/vbasic/StopReBoot.aspx

    Essentially for Win9x we trick system to think that the screensaver is running (which disables Ctrl-Alt-Delete sequence) and for WinNT we remap keyboard.

提交回复
热议问题