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

前端 未结 6 1452
刺人心
刺人心 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 01:05

    Set Form.TopMost to true, call Form.Activate() every millisecond and raise the process and entry thread priorities.

    (Lo and behold the poor user which your application crashes on.)

提交回复
热议问题