How to catch the Fn+? keys on laptop?

前端 未结 3 719
情话喂你
情话喂你 2021-01-17 22:59

Can I catch the Fn+F3( or Fn+F2....) keys with my program?

3条回答
  •  醉梦人生
    2021-01-17 23:43

    Here is the list of keycodes from MSDN. Using the information there, you could probably figure out which key codes to listen for.

    As @RRUZ mentioned above, the FN key modifies the key code being sent.

    You could always create a MessageBox that displays the key code whenever you press a key and use the values it gives you.

提交回复
热议问题