Weird windows keyboard behvavior

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Weird windows keyboard behvavior

Postby sirheroics » Mon Jun 10, 2024 2:31 pm

If you go to Window's "Language Settings", click on english and enable the "United States-International" keyboard and then use the "Windows Key + Spacebar" to toggle that keyboard active, I get strange keyboard behavior.

Before launching CEF in my application, when i press the number 1 on my keyboard, I get the following output from this printf("0x%x 0x%x 0x%x\n", uMsg, wParam, lParam):

0x100 0x31 0x20001
0x101 0x31 0xc0020001

After launching CEF, when i press the number 1 on my keyboard I get:

0x104 0x12 0x20380001
0x100 0x31 0x20001
0x102 0x31 0x20001
0x101 0x31 0xc0020001

I'm not even typing into the CEF browser, I'm typing into a native widget but just the act of opening CEF and closing it, then pressing the number 1 seems to change the message handling. Can someone explain what's going on here or how to correct this?


Last bumped by sirheroics on Mon Jun 10, 2024 2:31 pm.
sirheroics
Techie
 
Posts: 34
Joined: Mon Mar 22, 2021 6:32 am

Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 31 guests