Filter hotkeys for specific windows #5
obraunsdorf
started this conversation in
Ideas
Replies: 1 comment
-
It surely should be possible, but not with Constructing / getting a window can already be done with winapi-easy, though I consider the API for this highly experimental still. But you can take a look at the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to only register hotkeys for specific windows? The parameter
HWND
Window's API FunctionRegisterHotKeys
(https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-registerhotkey) seems to implement this functionality.How would someone use winapi-easy best to get a HWND to the processes main window and pass it to
RegisterHotKeys
?Thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions