Keyboard hook get key combination (WPF)

前端 未结 3 476
别那么骄傲
别那么骄傲 2021-01-26 15:16

I tried using this post here: Using global keyboard hook (WH_KEYBOARD_LL) in WPF / C# And i have this sucessfully working.

But there is something i cant get my finger be

3条回答
  •  一个人的身影
    2021-01-26 16:09

    Some time ago I relied on the RegisterHotKey function and the result was pretty good. I used this in VB.NET and just for combinations of CTRL/SHIFT/ALT + letter or number, but here you have a pretty detailed C# code allowing even more combinations.

提交回复
热议问题