sproc wrote:Hello,
I have a win32 App which is using CEF for rendering Web Content. My App handles some of the Shortcut Keys (Ctrl+N, Ctrl+O, ...). But this stops happening when the CEF browser is Active or has Focus. The CEF Browser by default consumes all the Keyboard events. How to use "CefKeyboardHandler" correctly to prevent CEF Browser from handling this and pass onto my App.
I have a win32 App which is the same with sproc's, and i want to handle some custom shortcut keys. Actually, I am using the version: cef_binary_3.2217.1905_windows32.7z. the custom accelerators as shown below, but I find that can't work. Is there something wrong?
thanks for the advice.
- Code: Select all
IDC_CEFCLIENT ACCELERATORS
BEGIN
"/", IDM_ABOUT, ASCII, ALT, NOINVERT
"?", IDM_ABOUT, ASCII, ALT, NOINVERT
VK_F8, IDM_ABOUT, VIRTKEY, NOINVERT
END