Why do I get two messages on AltGr being pressed?
I have the following hook:
LRESULT CALLBACK MyClass::KeyboardShotcutsHook(int code, WPARAM wParam, LPARAM lParam)
When in polish language I press AltGR+Key
(right Alt) it produces 2 messages:
- Ctrl+
Key
- Alt+Ctrl+
Key
Why? and how to avoid Ctrl+Key
?