Since you are using Qt4, maybe overwriting QCoreApplication::winEventFilter()?
Cheers,
_
Since you are using Qt4, maybe overwriting QCoreApplication::winEventFilter()?
Cheers,
_
Thanks, but unfortunately this doesn't work. I can override winEventFilter and print the contents of the MSG events, but such an event is never raised for a WM_HOTKEY event when I press a hotkey from outside the application, the way it is for the method in the link in my first post. (Also, in a well-known bug, PySide's MSG struct is actually broken; you can't access wParam directly, it's only printed when you print the MSG object directly, but that's irrelevant.)
Then your options are to ask the PySide developers to add the missing functionality and/or fix the broken parts or use PyQt which you already know to work.
The latter seems to be the more viable choice.
Cheers,
_
Bookmarks