C# Mono - Low Level Keyboard Hook

后端 未结 2 1134
我寻月下人不归
我寻月下人不归 2021-01-19 09:07

I\'m using code that I found on the CodeProject.com for a low-level keyboard hook. The only problem is it uses external DLL calls that don\'t work in mono. I was wondering

2条回答
  •  天命终不由人
    2021-01-19 09:41

    Without knowing what you are trying to capture, it's hard to be sure what will work for you. You may want to look at using Application.AddMessageFilter.

    An example is here: http://dn.codegear.com/article/30129

提交回复
热议问题