registering global hotkeys fails with numbers and symbols
Nathan smith <[email protected]> Mon, 21 Mar 2022 11:18:08 +0000
| Newsgroups | gmane.comp.python.wxpython |
|---|---|
| Message-ID | <[email protected]> |
Hi there, I was wondering if this is a bug at my end (probably) or if this is a genuine limitation of windows in general. I've been attempting to bind a keystroke to the control of control, shift, semicolon using self.RegisterHotKey. It returns True, however it doesn't actually do anything once pressed, this is the same for if I bind it to anything from 0 to 9, or any symbol, but letters work fine. My bind statement is: self.RegisterHotKey(self.kid, self.mods, self.semicolon) Where self.kid is wx.Window.NewControlId(), Where self.mods works fine because it works with letters, and self.semicolon is 0x3b taken from https://docs.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes Thanks for any advice in advance, Nathan -- You received this message because you are subscribed to the Google Groups "wxPython-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/1bffa9d3-797b-5ba4-8b89-06ab587e74f0%40gmail.com.