Community
Participate
Working Groups
The code that handles WM_INPUTLANGCHANGE (i.e., the language listener code that can be hooked to receive keyboard language changes) always restores the SWT_WINDOW0 window proc so if the code is called with a button, it will lose the button window proc when it unsubclasses. A fix would be to save the window proc in a Hashtable keyed by HWND or store it with the HWND using Windows AddProp and GetProp (like a C program would do).
Put in a hash table as suggested below. Getting KR to review the changes before releasing.
Reviewed by KR. Releasing fix.