Strange WM_CHAR behaviour (wrong chCharCode)
问题 I need to automate entering a certain character (Russian letter Э ). In Spy++ the corresponding message looks like this: WM_CHAR chCharCode: '221' (221) cRepeat:1 ScanCode:28 fExtended:0 fAltDown:0 fRepeat:0 fUp:0 In order to send this message programmatically, I use this Delphi code: SendMessage(Self.PassengerGrid, WM_CHAR, WPARAM(221), LPARAM($280001)); When I examine the results of running my code in Spy++, I see following message: WM_CHAR chCharCode: '89' (89) cRepeat:1 ScanCode:28