When we switch any language to ENG, for example RU to ENG with mouse then we have LCtrl Up pressed event.

Report problems with documented functionality
malcev
Posts: 1769
Joined: 12 Aug 2014, 12:37

When we switch any language to ENG, for example RU to ENG with mouse then we have LCtrl Up pressed event.

24 Jul 2018, 03:56

If We run this code then after switching any language to ENG with mouse We will get msgbox.

Code: Select all

LCtrl Up:: msgbox
And key history shows this:

Code: Select all

VK  SC	Type	Up/Dn	Elapsed	Key		Window
-------------------------------------------------------------------------------------------------------------
A2  01D	h	u	4.70	LControl       	Program Manager
Is it sent by Autohotkey or by Windows?
And why?
lexikos
Posts: 9583
Joined: 30 Sep 2013, 04:07
Contact:

Re: When we switch any language to ENG, for example RU to ENG with mouse then we have LCtrl Up pressed event.

24 Jul 2018, 20:34

It is sent by Windows. Why? Ask Microsoft.

If I had to guess, I would say it relates to how Windows handles AltGr (as a combination of LCtrl and RAlt).
malcev
Posts: 1769
Joined: 12 Aug 2014, 12:37

Re: When we switch any language to ENG, for example RU to ENG with mouse then we have LCtrl Up pressed event.

25 Jul 2018, 01:56

You are right!
If I modify existing keyboard layout (remove using AltGr key from it) then it works without sending LCtrl Up.
Thank You very much!

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 22 guests