WM_CHAR event not sent

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.

WM_CHAR event not sent

Postby Arie » Tue Jul 15, 2014 5:08 am

Hi,

In the function OnPreKeyEvent() I'm trying to catch WM_CHAR events but I don't receive them.
However, I receive KEYEVENT_CHAR event but they have no Windows event (MSG*) associated with them.

snapshot event & os_event.PNG
snapshot event & os_event.PNG (33.2 KiB) Viewed 2847 times

It happens only in the last stable release (3.1750.1738) but not in previous ones.

Is that a bug ? and can I build windows MSG event from this CefKeyEvent event ?
Arie
Newbie
 
Posts: 7
Joined: Tue Jul 15, 2014 4:23 am

Re: WM_CHAR event not sent

Postby magreenblatt » Tue Jul 15, 2014 10:26 am

Arie wrote:Is that a bug ?

No, it's the way that Aura works. Aura sometimes generates synthetic events instead of using events from the OS.

Arie wrote:and can I build windows MSG event from this CefKeyEvent event ?

Yes, CefKeyEvent should contain all of the information that you need to create a WM_CHAR event.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

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