Is it possible to use Win32 Hooks in Qt applications

后端 未结 3 1693
一整个雨季
一整个雨季 2021-02-09 06:20

I like to know if its possible to use win32 keyboard hook function (SetWindowsHookEx , SetWindowsHookEx ) in a Qt application.

If possible pls provide a sample code on

3条回答
  •  清酒与你
    2021-02-09 07:12

    You don't need to do anything with Qt. Just follow the windows examples:

    http://msdn.microsoft.com/en-us/library/ms644960(VS.85).aspx

提交回复
热议问题