I have a application that lives in the tray and I would like to define serveral hotkeys which will trigger events in my program.
I found inspiration from the excellent answer by @AaronLS in this question: Set global hotkeys using C#
If I register a hot key that are already defined by another application RegisterHotKey
will return false and not register it. So how can I override or replace a hot key?