OK, I've improved handling of AltGr in the QSearch panel by adding the following additional condition:DV wrote: ↑Sat Nov 16, 2024 3:38 pmSeems to be related to this "feature" of Windows:Infocatcher wrote: ↑Sat Nov 16, 2024 12:33 pmBut what about AltGr+Enter? It's better to perform Alt+Enter action instead of nothing.
https://stackoverflow.com/questions/586 ... ent-layout
Code: Select all
isAltPressed = (GetKeyState(VK_MENU) & 0x80) != 0;
isAltGrPressed = isAltPressed && (uMsg != WM_SYSKEYDOWN || (lParam & 0x01000000) != 0); // AltGr emulates Alt+Ctrl
isCtrlPressed = !isAltGrPressed && (GetKeyState(VK_CONTROL) & 0x80) != 0;
Anyway, the Hotkeys plugin seems to need the same fix and Instructor may be interested in adding the similar code to the Hotkey plugin.
Because, when I have something assigned to e.g. Ctrl+Alt+F3 in the Hotkeys plugin, pressing AltGr+F3 calls the associated function.