SetWindowsHookEx() WM_KEYBOARD_LL not coming through with full screen RDC

前端 未结 2 740
长情又很酷
长情又很酷 2021-01-03 10:39

I\'m trying to do a away timer style thing like Skype. If the user is \'away\' for a period of time I\'ll trigger something. I have been using SetWindowsHookEx() with WM_KEY

2条回答
  •  说谎
    说谎 (楼主)
    2021-01-03 11:22

    Have a look at GetLastInputInfo(). Try calling that periodically.

提交回复
热议问题