We have to run in multi-threaded message mode due to floating point settings in our app. Because of this, we are not getting accelerator keys and other UI events when the browser window has focus. These DO work if we are not running in multi-threaded mode.
I read that in order to get the messages on the main app's UI thread we can create a hidden window for message processing. I have used the example in cefclient. I call CreateMessageWindow(m_hInstance) where n_hInstance is the instance of the CWinApp. CreateMesaageWindow() and MessageWndProc() are defined exactly as in cefclient.
My problem is that MessageWndProc is not getting called for UI events in the browser. For example, when the browser has focus, selecting Alt-F does not display the File menu.