mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-04 05:34:51 +00:00
Electron.GlobalShortcut.Register // Disabled key, in other app #439
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nurbat on GitHub (Dec 19, 2019).
Originally assigned to: @GregorBiswanger on GitHub.
NET.CORE
After the application starts, we go to another program. also we press the button.
Our program reads the key, but the focus in another program no longer sees this letter.. Even if you go to the notebook. The key is not fulfilled.
@nurbat commented on GitHub (Dec 19, 2019):
It 's not exactly a bug, but even some fiche. It wouldn 't be bad if you could turn off or turn on extra...
Whatever global key is disabled for other programs or not disabled
@GregorBiswanger commented on GitHub (Apr 21, 2020):
Hi @nurbat, you can easily determine that yourself using program logic.
Subscribe to the
App.OnBlurevent and deregister the global shortkey withElectron.GlobalShortcut.Unregister.With the
App.OnFocusevent you can register your shortcuts again.